##// END OF EJS Templates
Adds axis scoped pointers (to be checked on windows)
Adds axis scoped pointers (to be checked on windows)

File last commit:

r760:1544a9974795
r788:bfedfc6138fd
Show More
chartview.h
29 lines | 476 B | text/x-c | CLexer
#ifndef CHARTVIEW_H_
#define CHARTVIEW_H_
#include <QChartView>
#include <QTimer>
QTCOMMERCIALCHART_USE_NAMESPACE
//![1]
class ChartView: public QChartView
{
Q_OBJECT
public:
ChartView(QWidget* parent = 0);
virtual ~ChartView();
public slots:
void handleTimeout();
void handlePointClicked(const QPointF& point);
private:
QTimer m_timer;
QList<QSeries*> m_series;
QStringList m_titles;
int m_index;
};
//![1]
#endif /* CHARTVIEW_H_ */