##// END OF EJS Templates
Refactor animation to fit line,spline,scatter...
Refactor animation to fit line,spline,scatter * adds xyanimationitem * adds xyanimator * fixes spline linePen call * updates presenter example * adds missing tilte getter in chartview

File last commit:

r476:b6fb05e4e56f
r476:b6fb05e4e56f
Show More
main.cpp
16 lines | 419 B | text/x-c | CppLexer
#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.setAnimationOptions(QChart::AllAnimations);
window.setCentralWidget(&chartView);
window.resize(400, 300);
window.show();
return a.exec();
}