##// END OF EJS Templates
Refacotr axisitem to handle ticks changes
Refacotr axisitem to handle ticks changes

File last commit:

r198:d1d1af3adb63
r452:47a9fc437f2c
Show More
main.cpp
18 lines | 369 B | text/x-c | CppLexer
Tero Ahola
Added example with multiple chart views
r198 #include <QtGui/QApplication>
#include <QMainWindow>
#include "multichartwidget.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MultiChartWidget *multi = new MultiChartWidget();
// Use the chart widget as the central widget
QMainWindow w;
w.resize(640, 480);
w.setCentralWidget(multi);
w.show();
return a.exec();
}