@@ -45,6 +45,7 int main(int argc, char *argv[]) | |||
|
45 | 45 | chart->setTitle("Zoom in/out example"); |
|
46 | 46 | chart->setAnimationOptions(QChart::SeriesAnimations); |
|
47 | 47 | chart->legend()->hide(); |
|
48 | chart->createDefaultAxes(); | |
|
48 | 49 | |
|
49 | 50 | ChartView* chartView = new ChartView(chart); |
|
50 | 51 | chartView->setRenderHint(QPainter::Antialiasing); |
General Comments 0
You need to be logged in to leave comments.
Login now