##// END OF EJS Templates
Now using percent bar series in theme demo
Tero Ahola -
r521:1e41568aab09
parent child
Show More
@@ -4,7 +4,7
4 4 #include <qchartview.h>
5 5 #include <qpieseries.h>
6 6 #include <qpieslice.h>
7 #include <qbarseries.h>
7 #include <qpercentbarseries.h>
8 8 #include <qbarset.h>
9 9 #include <QGridLayout>
10 10 #include <QFormLayout>
@@ -92,7 +92,7 public:
92 92 // TODO: categories
93 93 for (int i(0); i < valueCount; i++)
94 94 categories << QString::number(i);
95 QBarSeries* series = new QBarSeries(categories, chart);
95 QPercentBarSeries* series = new QPercentBarSeries(categories, chart);
96 96 for (int i(0); i < m_dataTable.count(); i++) {
97 97 QBarSet *set = new QBarSet("Set" + QString::number(i));
98 98 foreach (Data data, m_dataTable[i])
General Comments 0
You need to be logged in to leave comments. Login now