[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/plugins/chartshape
From: Pavol Korinek <pavol.korinek () ixonos ! com>
Date: 2010-10-22 10:23:31
Message-ID: 20101022102331.940D6AC897 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1188410 by pavolk:
added percentage symbol as suffix on axis for percentage bar diagram
M +3 -1 Axis.cpp
--- trunk/koffice/plugins/chartshape/Axis.cpp #1188409:1188410
@@ -469,8 +469,10 @@
if ( plotAreaChartSubType == StackedChartSubtype )
kdBarDiagram->setType( KDChart::BarDiagram::Stacked );
- else if ( plotAreaChartSubType == PercentChartSubtype )
+ else if ( plotAreaChartSubType == PercentChartSubtype ) {
kdBarDiagram->setType( KDChart::BarDiagram::Percent );
+ kdBarDiagram->setUnitSuffix("%", kdBarDiagram->orientation());
+ }
if ( isVisible )
kdBarDiagram->addAxis( kdAxis );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic