From bbc7f10e2123e284b000c0a38f78fdaa46cd8477 2012-07-03 12:11:57 From: Michal Klocek Date: 2012-07-03 12:11:57 Subject: [PATCH] Fix zoomlinechart example --- diff --git a/examples/zoomlinechart/main.cpp b/examples/zoomlinechart/main.cpp index aa947e9..468ffd9 100644 --- a/examples/zoomlinechart/main.cpp +++ b/examples/zoomlinechart/main.cpp @@ -45,6 +45,7 @@ int main(int argc, char *argv[]) chart->setTitle("Zoom in/out example"); chart->setAnimationOptions(QChart::SeriesAnimations); chart->legend()->hide(); + chart->createDefaultAxes(); ChartView* chartView = new ChartView(chart); chartView->setRenderHint(QPainter::Antialiasing);