[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 13:46:06
Message-ID: 20050407134606.1EB3B63E () office ! kde ! org
[Download RAW message or body]

CVS commit by fedemar: 

The axis label: Use at most 6 digits after the decimal point.

CCBUG: 103267
CCMAIL: khz@kde.org


  M +2 -2      KDChartAxesPainter.cpp   1.20


--- koffice/kchart/kdchart/KDChartAxesPainter.cpp  #1.19:1.20
@@ -3394,5 +3394,5 @@ QString KDChartAxesPainter::truncateBehi
     QString sVal;
     sVal.setNum( nVal, 'f',
-                 bUseAutoDigits ? 24 : behindComma );
+                 bUseAutoDigits ? 6 : behindComma );
     if ( bUseAutoDigits ) {
         int comma = sVal.find( '.' );
@@ -3408,5 +3408,5 @@ QString KDChartAxesPainter::truncateBehi
             } else {
                 if ( 0 > trueBehindComma ) {
-                    QString sDelta = QString::number( nDelta, 'f', 24 );
+                    QString sDelta = QString::number( nDelta, 'f', 6 );
                     int i = sDelta.length();
                     while ( 1 < i


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

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