@@ -19,6 +19,7 | |||||
19 | #include <QPrintDialog> |
|
19 | #include <QPrintDialog> | |
20 | #include <QRadioButton> |
|
20 | #include <QRadioButton> | |
21 | #include <QStringList> |
|
21 | #include <QStringList> | |
|
22 | #include <qbarseries.h> | |||
22 |
|
23 | |||
23 | QTCOMMERCIALCHART_USE_NAMESPACE |
|
24 | QTCOMMERCIALCHART_USE_NAMESPACE | |
24 |
|
25 | |||
@@ -125,7 +126,7 void Widget::refreshChart() | |||||
125 | QStringList category; |
|
126 | QStringList category; | |
126 | for (int i = 0; i < selectedCountriesStrings.size(); i++) |
|
127 | for (int i = 0; i < selectedCountriesStrings.size(); i++) | |
127 | category << selectedCountriesStrings[i]; |
|
128 | category << selectedCountriesStrings[i]; | |
128 |
QBar |
|
129 | QBarSeries* series0 = new QBarSeries(category); | |
129 | series0 = new QBarSeries(category); |
|
130 | series0 = new QBarSeries(category); | |
130 |
|
131 | |||
131 | // prepare the selected counries SQL query |
|
132 | // prepare the selected counries SQL query |
General Comments 0
You need to be logged in to leave comments.
Login now