##// END OF EJS Templates
Update donutbreakdown data source (again)
Jani Honkonen -
r1954:7b92a2c2f2ec
parent child
Show More
@@ -30,6 +30,10 int main(int argc, char *argv[])
30 30 QApplication a(argc, argv);
31 31
32 32 //![1]
33 // Graph is based on data of 'Total consumption of energy increased by 10 per cent in 2010'
34 // Statistics Finland, 13 December 2011
35 // http://www.stat.fi/til/ekul/2010/ekul_2010_2011-12-13_tie_001_en.html
36
33 37 QPieSeries *series1 = new QPieSeries();
34 38 series1->setName("Fossil fuels");
35 39 series1->append("Oil", 353295);
@@ -69,10 +73,5 int main(int argc, char *argv[])
69 73 window.show();
70 74 //![3]
71 75
72 // Data is taken from Statistics Finland:
73 // http://www.stat.fi/til/ekul/2010/ekul_2010_2011-12-13_tie_001_en.html
74 window.statusBar()->setFont(QFont("Arial", 7));
75 window.statusBar()->showMessage("Graph is based on data of 'Total consumption of energy increased by 10 per cent in 2010' Statistics Finland, 13 December 2011");
76
77 76 return a.exec();
78 77 }
General Comments 0
You need to be logged in to leave comments. Login now