#ifndef QSCATTERSERIES_H #define QSCATTERSERIES_H #include "qchartseries.h" #include #include QTCOMMERCIALCHART_BEGIN_NAMESPACE class QScatterSeriesPrivate; class QTCOMMERCIALCHART_EXPORT QScatterSeries : public QChartSeries { Q_OBJECT public: //QScatterSeries(QSeriesData *data, QObject *chart); QScatterSeries(QObject *parent = 0); ~QScatterSeries(); public: // from QChartSeries QChartSeriesType type() const { return QChartSeries::SeriesTypeScatter; } bool setData(QList x, QList y); public Q_SLOTS: void chartSizeChanged(QRectF rect); void setMarkerColor(QColor color); QColor markerColor(); //void chartScaleChanged(qreal xscale, qreal yscale); private: Q_DECLARE_PRIVATE(QScatterSeries) Q_DISABLE_COPY(QScatterSeries) friend class QChart; QScatterSeriesPrivate *const d; }; QTCOMMERCIALCHART_END_NAMESPACE #endif // QSCATTERSERIES_H