##// END OF EJS Templates
Added bar chart example
Added bar chart example

File last commit:

r13:335e8906dfcb
r78:681c12da395a
Show More
qscatterseries.h
27 lines | 566 B | text/x-c | CLexer
#ifndef QSCATTERSERIES_H
#define QSCATTERSERIES_H
#include <QGraphicsItem>
// TODO:
#define QChartDataPoint QList<QVariant>
class QSeriesPointGraphicsItem;
class QScatterSeries : public QGraphicsItem
{
public:
QScatterSeries(QGraphicsItem *parent = 0);
void setData(QList<QChartDataPoint> data);
// void setData(QList<int> data);
signals:
public slots:
public:
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
};
#endif // QSCATTERSERIES_H