[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/plugins/chartshape/kdchart/src
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2010-10-10 15:29:34
Message-ID: 20101010152934.25F3E3E1F5 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1184496 by jsimon:

Backport KD Chart bugfix: Bars were drawn much too thin because a wrong column count \
was used to calculate group width.

 M  +1 -1      KDChartNormalBarDiagram_p.cpp  


--- trunk/koffice/plugins/chartshape/kdchart/src/KDChartNormalBarDiagram_p.cpp \
#1184495:1184496 @@ -104,7 +104,7 @@
     double barWidth = 0;
     double maxDepth = 0;
     double width = boundRight.x() - boundLeft.x();
-    double groupWidth = width / (rowCount + 2);
+    double groupWidth = width / rowCount;
     double spaceBetweenBars = 0;
     double spaceBetweenGroups = 0;
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic