From 611d357cfff4444c5cceb1acc93a7b9c75727f31 2012-11-29 15:10:18 From: Michal Klocek Date: 2012-11-29 15:10:18 Subject: [PATCH] restore zoomlinechart example --- diff --git a/examples/zoomlinechart/main.cpp b/examples/zoomlinechart/main.cpp index 2f9927b..36e2a89 100644 --- a/examples/zoomlinechart/main.cpp +++ b/examples/zoomlinechart/main.cpp @@ -47,7 +47,6 @@ int main(int argc, char *argv[]) chart->setAnimationOptions(QChart::SeriesAnimations); chart->legend()->hide(); chart->createDefaultAxes(); - qobject_cast(chart->axisX())->setNiceNumbersEnabled(true); ChartView *chartView = new ChartView(chart); chartView->setRenderHint(QPainter::Antialiasing); @@ -59,7 +58,5 @@ int main(int argc, char *argv[]) window.grabGesture(Qt::PinchGesture); window.show(); - qobject_cast(chart->axisX())->setMax(600); - return a.exec(); }