summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartBWPainter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartBWPainter.cpp')
-rw-r--r--libkdchart/KDChartBWPainter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkdchart/KDChartBWPainter.cpp b/libkdchart/KDChartBWPainter.cpp
index f376403..9f6e5fb 100644
--- a/libkdchart/KDChartBWPainter.cpp
+++ b/libkdchart/KDChartBWPainter.cpp
@@ -148,13 +148,13 @@ int KDChartBWPainter::calculateStats( KDChartTableDataBase& data,
(values[ TQMAX(nUd2-1, 0) ] + values[ nUd2 ]) /2;
// find last value of lower quartile
nLastQ1 = TQMAX( nUd2-1, 0 );
- // tqfind 1st value of lower quartile
+ // find 1st value of lower quartile
nFirstQ1 = nLastQ1 / 2;
// determine how many values are below the median ( == how many are above it)
int nLowerCount = nLastQ1 - nFirstQ1 + 1;
- // tqfind 1st value of upper quartile
+ // find 1st value of upper quartile
nFirstQ3 = bOdd ? TQMIN( nUd2+1, nUsed-1 ) : nUd2;
// find last value of upper quartile
nLastQ3 = nFirstQ3 + nLowerCount - 1;