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