[Libreoffice-commits] core.git: chart2/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Thu May 22 04:23:56 PDT 2014


 chart2/source/view/charttypes/GL3DBarChart.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 1159ab61494bf82fbb2a92ea52015b85501418d1
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Thu May 22 13:18:00 2014 +0200

    change the bar size a bit
    
    Change-Id: I09df4a7104a4df1603a7d64bfa49c103be4f4ade

diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 542711a..a3a8858 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -64,10 +64,10 @@ void GL3DBarChart::create3DShapes(const boost::ptr_vector<VDataSeries>& rDataSer
     // guarantee they are positioned correctly.  In fact, they are guaranteed
     // to be positioned incorrectly.
 
-    const float nBarSizeX = 10;
-    const float nBarSizeY = 10;
-    const float nBarDistanceX = nBarSizeX / 2;
-    const float nBarDistanceY = nBarSizeY / 2;
+    const float nBarSizeX = 10.0f;
+    const float nBarSizeY = 30.0f;
+    const float nBarDistanceX = 5.0f;
+    const float nBarDistanceY = 5.0;
 
     sal_uInt32 nId = 1;
     float nXEnd = 0.0;


More information about the Libreoffice-commits mailing list