##// END OF EJS Templates
BarGroup and Bar as ChartItems instead of GraphicItems
BarGroup and Bar as ChartItems instead of GraphicItems

File last commit:

r64:e24eaf728304
r74:5412c444e1e8
Show More
qscatterseries.h
37 lines | 910 B | text/x-c | CLexer
/ src / qscatterseries.h
Tero Ahola
Integrated scatter type series...
r42 #ifndef QSCATTERSERIES_H
#define QSCATTERSERIES_H
#include "qchartseries.h"
Tero Ahola
Resizing of QGraphicItems now possible by resize signal from QChart
r48 #include <QRectF>
Tero Ahola
Draft implementation for setting color themes for a chart
r64 #include <QColor>
Tero Ahola
Integrated scatter type series...
r42
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QScatterSeriesPrivate;
class QTCOMMERCIALCHART_EXPORT QScatterSeries : public QChartSeries
{
Q_OBJECT
public:
//QScatterSeries(QSeriesData *data, QObject *chart);
Tero Ahola
Refactored series creation with QChart
r61 QScatterSeries(QObject *parent = 0);
Tero Ahola
Integrated scatter type series...
r42 ~QScatterSeries();
public: // from QChartSeries
Tero Ahola
Integrated draft version of pie series
r51 QChartSeriesType type() const { return QChartSeries::SeriesTypeScatter; }
Tero Ahola
Refactored series creation with QChart
r61 bool setData(QList<qreal> x, QList<qreal> y);
Tero Ahola
Integrated scatter type series...
r42
Tero Ahola
Resizing of QGraphicItems now possible by resize signal from QChart
r48 public Q_SLOTS:
Tero Ahola
Removed scale from chart's sizeChanged signals
r54 void chartSizeChanged(QRectF rect);
Tero Ahola
Draft implementation for setting color themes for a chart
r64 void setMarkerColor(QColor color);
Tero Ahola
Removed scale from chart's sizeChanged signals
r54 //void chartScaleChanged(qreal xscale, qreal yscale);
Tero Ahola
Resizing of QGraphicItems now possible by resize signal from QChart
r48
Tero Ahola
Integrated scatter type series...
r42 private:
Q_DECLARE_PRIVATE(QScatterSeries)
Q_DISABLE_COPY(QScatterSeries)
friend class QChart;
QScatterSeriesPrivate *const d;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QSCATTERSERIES_H