##// END OF EJS Templates
Fixed: axis not redrawing when labelFormat changed
Fixed: axis not redrawing when labelFormat changed

File last commit:

r2255:31c21c535136
r2323:e9844f86b718
Show More
widget.h
32 lines | 489 B | text/x-c | CLexer
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QChart>
class QGraphicsScene;
class QGraphicsView;
class Callout;
QTCOMMERCIALCHART_USE_NAMESPACE
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = 0);
~Widget();
public slots:
void keepCallout();
void tooltip(QPointF point, bool state);
private:
QGraphicsScene *m_scene;
QChart *m_chart;
QGraphicsView *m_view;
Callout *m_tooltip;
};
#endif // WIDGET_H