##// END OF EJS Templates
Fixed a compilation issue in axis example
Tero Ahola -
r501:6973892b62db
parent child
Show More
@@ -50,10 +50,10 int main(int argc, char *argv[])
50 50 axisX->setLabelsAngle(45);
51 51 axisX->setGridPen(Qt::DashLine);
52 52
53 QChartAxisCategories& categoriesX = axisX->categories();
54 categoriesX.insert(0,"low");
55 categoriesX.insert(50,"medium");
56 categoriesX.insert(100,"High");
53 QChartAxisCategories *categoriesX = axisX->categories();
54 categoriesX->insert(0,"low");
55 categoriesX->insert(50,"medium");
56 categoriesX->insert(100,"High");
57 57
58 58 axisX->setMin(-10);
59 59 axisX->setMax(2200);
@@ -62,10 +62,10 int main(int argc, char *argv[])
62 62 axisY->setLabelsAngle(45);
63 63 axisY->setShadesBrush(Qt::yellow);
64 64
65 QChartAxisCategories& categoriesY = axisY->categories();
66 categoriesY.insert(0,"low");
67 categoriesY.insert(50,"medium");
68 categoriesY.insert(100,"High");
65 QChartAxisCategories *categoriesY = axisY->categories();
66 categoriesY->insert(0,"low");
67 categoriesY->insert(50,"medium");
68 categoriesY->insert(100,"High");
69 69
70 70 axisY->setMin(-10);
71 71 axisY->setMax(200);
General Comments 0
You need to be logged in to leave comments. Login now