@@ -22,6 +22,7 Widget::Widget(QWidget *parent) | |||||
22 | QChart *chart = chartView->chart(); |
|
22 | QChart *chart = chartView->chart(); | |
23 | chart->setAnimationOptions(QChart::AllAnimations); |
|
23 | chart->setAnimationOptions(QChart::AllAnimations); | |
24 | chart->legend()->setVisible(false); |
|
24 | chart->legend()->setVisible(false); | |
|
25 | chart->setTitle("Nested donuts example"); | |||
25 | //! [1] |
|
26 | //! [1] | |
26 |
|
27 | |||
27 | //! [2] |
|
28 | //! [2] |
@@ -22,6 +22,7 Widget::Widget(QWidget *parent) | |||||
22 | QChart *chart = chartView->chart(); |
|
22 | QChart *chart = chartView->chart(); | |
23 | chart->setAnimationOptions(QChart::AllAnimations); |
|
23 | chart->setAnimationOptions(QChart::AllAnimations); | |
24 | chart->legend()->setVisible(false); |
|
24 | chart->legend()->setVisible(false); | |
|
25 | chart->setTitle("Donut breakdown example"); | |||
25 | //! [1] |
|
26 | //! [1] | |
26 |
|
27 | |||
27 | //! [2] |
|
28 | //! [2] |
General Comments 0
You need to be logged in to leave comments.
Login now