diff options
author | Tero Ahola <tero.ahola@digia.com> | 2012-09-03 15:28:33 +0300 |
---|---|---|
committer | Tero Ahola <tero.ahola@digia.com> | 2012-09-03 15:31:45 +0300 |
commit | 1def3447669a84c91f855335533552ad677c593c (patch) | |
tree | ff29cd484d4283f08fab9f26322d5daa03af64a1 /plugins/declarative/declarativechart.cpp | |
parent | a62b3bfbefaac8b82db669cdfcdd00c3bfade915 (diff) |
Added removeSeries and removeAllSeries to QML API
Diffstat (limited to 'plugins/declarative/declarativechart.cpp')
-rw-r--r-- | plugins/declarative/declarativechart.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/declarative/declarativechart.cpp b/plugins/declarative/declarativechart.cpp index dce629f7..218132ac 100644 --- a/plugins/declarative/declarativechart.cpp +++ b/plugins/declarative/declarativechart.cpp @@ -174,6 +174,16 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! + \qmlmethod ChartView::removeSeries(AbstractSeries series) + Removes the \a series from the chart. The series object is also destroyed. +*/ + +/*! + \qmlmethod ChartView::removeAllSeries() + Removes all series from the chart. All the series objects are also destroyed. +*/ + +/*! \qmlmethod Axis ChartView::axisY(QAbstractSeries *series) The y-axis of the series. This is the same as the default y-axis of the chart as multiple y-axes are not yet supported. */ |