##// END OF EJS Templates
removed mention to Finland and modified temperatures in example to avoid possible copyright issues. Using fictional data now.
sauimone -
r1953:19301f21f096
parent child
Show More
@@ -37,8 +37,8 int main(int argc, char *argv[])
37 QBarSet *low = new QBarSet("Min");
37 QBarSet *low = new QBarSet("Min");
38 QBarSet *high = new QBarSet("Max");
38 QBarSet *high = new QBarSet("Max");
39
39
40 *low << -51.5 << -49 << -44.3 << -36.0 << -24.6 << -7.0 << -5.0 << -10.8 << -18.7 << -31.8 << -42.0 << -47.0;
40 *low << -52 << -50 << -45.3 << -37.0 << -25.6 << -8.0 << -6.0 << -11.8 << -19.7 << -32.8 << -43.0 << -48.0;
41 *high << 10.9 << 11.8 << 17.5 << 25.5 << 31.0 << 33.8 << 37.2 << 33.8 << 28.8 << 19.4 << 14.1 << 10.8;
41 *high << 11.9 << 12.8 << 18.5 << 26.5 << 32.0 << 34.8 << 38.2 << 34.8 << 29.8 << 20.4 << 15.1 << 11.8;
42 //![1]
42 //![1]
43
43
44 //![2]
44 //![2]
@@ -50,7 +50,7 int main(int argc, char *argv[])
50 //![3]
50 //![3]
51 QChart* chart = new QChart();
51 QChart* chart = new QChart();
52 chart->addSeries(series);
52 chart->addSeries(series);
53 chart->setTitle("Temperature records in Finland in Celcius");
53 chart->setTitle("Temperature records in celcius");
54 chart->setAnimationOptions(QChart::SeriesAnimations);
54 chart->setAnimationOptions(QChart::SeriesAnimations);
55 //![3]
55 //![3]
56
56
General Comments 0
You need to be logged in to leave comments. Login now