diff options
author | Tero Ahola <tero.ahola@digia.com> | 2012-01-24 14:31:20 +0200 |
---|---|---|
committer | Tero Ahola <tero.ahola@digia.com> | 2012-01-24 14:31:20 +0200 |
commit | 45d3de5e814af983c29ff3851ceef4aebdd39330 (patch) | |
tree | 037f20ce68191ed244b81620dd1a920b5a509ebc /src/qchartview.h | |
parent | 0be2c26f8dc143760b5fe1f61feeecd3e74341ff (diff) |
Refactored series creation with QChart
Diffstat (limited to 'src/qchartview.h')
-rw-r--r-- | src/qchartview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qchartview.h b/src/qchartview.h index e08daa01..275eaff3 100644 --- a/src/qchartview.h +++ b/src/qchartview.h @@ -21,9 +21,9 @@ public: //implement from QWidget
void resizeEvent(QResizeEvent *event);
- // TODO: addSeries and createSeries are optional solutions
void addSeries(QChartSeries* series);
- QChartSeries* createSeries(QList<qreal> x, QList<qreal> y, QChartSeries::QChartSeriesType type);
+ // Convenience function
+ QChartSeries* createSeries(QChartSeries::QChartSeriesType type);
protected:
void mouseMoveEvent (QMouseEvent *event);
|