diff --git a/src/qchart.cpp b/src/qchart.cpp index f5740af..76b6299 100644 --- a/src/qchart.cpp +++ b/src/qchart.cpp @@ -515,7 +515,7 @@ void QChart::setPlotAreaBackgroundPen(const QPen &pen) } /*! - Returns the \a pen for the background of the plot area of the chart. + Returns the pen for the background of the plot area of the chart. \sa plotArea(), plotAreaBackgroundVisible, plotAreaBackgroundBrush(), setPlotAreaBackgroundPen() */ diff --git a/src/xychart/qxyseries.cpp b/src/xychart/qxyseries.cpp index 5492010..2ddb835 100644 --- a/src/xychart/qxyseries.cpp +++ b/src/xychart/qxyseries.cpp @@ -295,11 +295,19 @@ void QXYSeries::replace(const QPointF &oldPoint, const QPointF &newPoint) replace(index, newPoint); } +/*! + Replaces the point at \a index with data point (\a newX, \a newY). + \sa QXYSeries::pointReplaced() +*/ void QXYSeries::replace(int index, qreal newX, qreal newY) { replace(index, QPointF(newX, newY)); } +/*! + Replaces the point at \a index with \a newPoint. + \sa QXYSeries::pointReplaced() +*/ void QXYSeries::replace(int index, const QPointF &newPoint) { Q_D(QXYSeries); @@ -343,6 +351,9 @@ void QXYSeries::remove(const QPointF &point) remove(index); } +/*! + Removes the point at \a index from the series. +*/ void QXYSeries::remove(int index) { Q_D(QXYSeries);