[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kchart/kdchart
From: Fredrik Edemar <f_edemar () linux ! se>
Date: 2005-04-07 0:47:45
Message-ID: 20050407004745.0E4FE2B0 () office ! kde ! org
[Download RAW message or body]
CVS commit by fedemar:
* If the totalLen property is >0, the text label should be truncated at the position of totalLen.
* Fixed an error in the documentation: KDCHART_DATA_VALUE_AUTO_DIGITS-> AXIS_LABELS_AUTO_DIGITS.
CCMAIL: khz@kde.org
M +2 -0 KDChartAxesPainter.cpp 1.19
M +1 -1 KDChartAxisParams.cpp 1.11
--- koffice/kchart/kdchart/KDChartAxesPainter.cpp #1.18:1.19
@@ -3477,4 +3477,6 @@ QString KDChartAxesPainter::applyLabelsF
if( blockAlign )
sVal.prepend( prefix );
+ if ( totalLen > 0 )
+ sVal.truncate( totalLen );
return sVal;
}
--- koffice/kchart/kdchart/KDChartAxisParams.cpp #1.10:1.11
@@ -1487,5 +1487,5 @@ void KDChartAxisParams::setAxisLabelsCol
\param digitsBehindComma The number of digits to show behind the comma,
to have this calculated automatically just use the default value
- KDCHART_DATA_VALUE_AUTO_DIGITS.
+ AXIS_LABELS_AUTO_DIGITS.
\sa setAxisLabelsFormat, axisLabelsDivPow10, axisLabelsDigitsBehindComma
*/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic