##// END OF EJS Templates
First version of legend. Simple markers and serie names. Using drilldown as example for now.
First version of legend. Simple markers and serie names. Using drilldown as example for now.

File last commit:

r486:7ab45bf9f776
r529:73dc1554f5c7
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();
}