##// END OF EJS Templates
Spline with problems
Spline with problems

File last commit:

r391:7d2e92012cfd
r419:1666cfa56d96
Show More
main.cpp
17 lines | 476 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.setChartTitle("Three random line charts");
chartView.setAnimationOptions(QChart::AllAnimations);
window.setCentralWidget(&chartView);
window.resize(400, 300);
window.show();
return a.exec();
}