##// END OF EJS Templates
Merge branch 'master' of https://git.it.local/repos/QtCommercialDevel-13049/charts Conflicts: example/example.pro src/chartdataset.cpp src/chartpresenter.cpp src/charttheme_p.h

File last commit:

r391:7d2e92012cfd
r426:95162da3dc01 merge
Show More
main.cpp
17 lines | 476 B | text/x-c | CppLexer
Michal Klocek
Adds preseterchart example
r246 #include "chartview.h"
#include <QApplication>
#include <QMainWindow>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QMainWindow window;
ChartView chartView(&window);
chartView.setRenderHint(QPainter::Antialiasing);
chartView.setChartTitle("Three random line charts");
Michal Klocek
Fix commit 7b90ec69ce9a3353820d295c222ef3f79537484d
r391 chartView.setAnimationOptions(QChart::AllAnimations);
Michal Klocek
Adds preseterchart example
r246 window.setCentralWidget(&chartView);
window.resize(400, 300);
window.show();
return a.exec();
}