Remove

Remove(IChartDataPoint)

Removes item from collection.

public bool Remove(IChartDataPoint dataPoint)
ParameterTypeDescription
dataPointIChartDataPointData point remove to.

Return Value

true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the System.Collections.Generic.List{T}.

See Also


Remove(int)

Removes item from collection by it index in parent series points collection.

public void Remove(int dataPointIndex)
ParameterTypeDescription
dataPointIndexInt32Index of data point in parent series points collection.

Exceptions

exceptioncondition
ArgumentExceptionPoint with the given index was not found.
ArgumentOutOfRangeExceptiondataPointIndex is negative.

See Also