##// END OF EJS Templates
Enable default axes in spline and scatter charts
Marek Rosa -
r1610:4694192f0264
parent child
Show More
@@ -51,6 +51,7 ChartView::ChartView(QWidget *parent) :
51 51 chart()->addSeries(series0);
52 52 chart()->addSeries(series1);
53 53 chart()->setTitle("Simple scatterchart example");
54 chart()->createDefaultAxes();
54 55 chart()->setDropShadowEnabled(false);
55 56 //![3]
56 57 }
@@ -48,6 +48,7 int main(int argc, char *argv[])
48 48 chart->legend()->hide();
49 49 chart->addSeries(series);
50 50 chart->setTitle("Simple spline chart example");
51 chart->createDefaultAxes();
51 52 chart->axisY()->setRange(0, 10);
52 53 //![3]
53 54
General Comments 0
You need to be logged in to leave comments. Login now