#ifndef QSCATTERSERIESPRIVATE_H #define QSCATTERSERIESPRIVATE_H #include "qchartseries.h" #include QTCOMMERCIALCHART_BEGIN_NAMESPACE /*! * The PIMPL class of QScatterSeries. */ class QScatterSeriesPrivate : public QGraphicsItem { public: QScatterSeriesPrivate(QList x, QList y, QGraphicsItem *parent); public: // from QGraphicsItem void setSize(); QRectF boundingRect() const; void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); // TODO: use the chart data class instead of list of x and y values? QList m_x; QList m_y; }; QTCOMMERCIALCHART_END_NAMESPACE #endif // QSCATTERSERIES_H