@@ -20,8 +20,6 | |||
|
20 | 20 | |
|
21 | 21 | #include "boxdatareader.h" |
|
22 | 22 | |
|
23 | #include <QDebug> | |
|
24 | ||
|
25 | 23 | BoxDataReader::BoxDataReader(QIODevice *device) : |
|
26 | 24 | QTextStream(device) |
|
27 | 25 | { |
@@ -54,9 +52,6 QBoxSet* BoxDataReader::readBox() | |||
|
54 | 52 | else // even amount of numbers |
|
55 | 53 | box->setUpperQuartile(findMedian(count / 2, count)); |
|
56 | 54 | |
|
57 | qDebug() << "Box = " << box->lowerExtreme() << ", " << box->lowerQuartile() << ", " << | |
|
58 | box->median() << ", " << box->upperQuartile() << ", " << box->upperExtreme(); | |
|
59 | ||
|
60 | 55 | return box; |
|
61 | 56 | } |
|
62 | 57 |
@@ -28,8 +28,6 | |||
|
28 | 28 | |
|
29 | 29 | #include "boxdatareader.h" |
|
30 | 30 | |
|
31 | #include <QDebug> | |
|
32 | ||
|
33 | 31 | QTCOMMERCIALCHART_USE_NAMESPACE |
|
34 | 32 | |
|
35 | 33 | int main(int argc, char *argv[]) |
@@ -62,10 +60,7 int main(int argc, char *argv[]) | |||
|
62 | 60 | //![3] |
|
63 | 61 | |
|
64 | 62 | //![4] |
|
65 | //QStringList categories; | |
|
66 | //categories << "Jan" << "Feb" << "Mar" << "Apr" << "May" << "Jun" << "Jul" << "Aug" << "Sep" << "Oct" << "Nov" << "Dec"; | |
|
67 | 63 | QBarCategoryAxis *axis = new QBarCategoryAxis(); |
|
68 | //axis->append(categories); | |
|
69 | 64 | chart->createDefaultAxes(); |
|
70 | 65 | chart->setAxisX(axis, series); |
|
71 | 66 | //![4] |
General Comments 0
You need to be logged in to leave comments.
Login now