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