@@ -60,6 +60,7 int main(int argc, char *argv[]) | |||||
60 | QChart* chart = new QChart(); |
|
60 | QChart* chart = new QChart(); | |
61 | chart->addSeries(series); |
|
61 | chart->addSeries(series); | |
62 | chart->setTitle("Simple barchart example"); |
|
62 | chart->setTitle("Simple barchart example"); | |
|
63 | chart->setAnimationOptions(QChart::SeriesAnimations); | |||
63 | //![3] |
|
64 | //![3] | |
64 |
|
65 | |||
65 | //![4] |
|
66 | //![4] |
@@ -59,6 +59,7 int main(int argc, char *argv[]) | |||||
59 | QChart* chart = new QChart(); |
|
59 | QChart* chart = new QChart(); | |
60 | chart->addSeries(series); |
|
60 | chart->addSeries(series); | |
61 | chart->setTitle("Simple percentbarchart example"); |
|
61 | chart->setTitle("Simple percentbarchart example"); | |
|
62 | chart->setAnimationOptions(QChart::SeriesAnimations); | |||
62 | //![3] |
|
63 | //![3] | |
63 |
|
64 | |||
64 | //![4] |
|
65 | //![4] |
@@ -59,6 +59,7 int main(int argc, char *argv[]) | |||||
59 | QChart* chart = new QChart(); |
|
59 | QChart* chart = new QChart(); | |
60 | chart->addSeries(series); |
|
60 | chart->addSeries(series); | |
61 | chart->setTitle("Simple stackedbarchart example"); |
|
61 | chart->setTitle("Simple stackedbarchart example"); | |
|
62 | chart->setAnimationOptions(QChart::SeriesAnimations); | |||
62 | //![3] |
|
63 | //![3] | |
63 |
|
64 | |||
64 | //![4] |
|
65 | //![4] |
General Comments 0
You need to be logged in to leave comments.
Login now