ChartPointCollection

ChartPointCollection class

Represents a collection that contains all the points in one series.

class ChartPointCollection;

Methods

MethodDescription
get(number)Gets the ChartPoint element at the specified index in the series.
getCount()Gets the count of the chart point.
getEnumerator()Returns an enumerator for the entire ChartPointCollection.
clear()Remove all setting of the chart points.
removeAt(number)Removes point at the index of the series..

get(number)

Gets the ChartPoint element at the specified index in the series.

get(index: number) : ChartPoint;

Parameters:

ParameterTypeDescription
indexnumberThe index of chart point in the series.

Returns

The ChartPoint object.

getCount()

Gets the count of the chart point.

getCount() : number;

getEnumerator()

Returns an enumerator for the entire ChartPointCollection.

getEnumerator() : ChartPointEnumerator;

Returns

ChartPointEnumerator

clear()

Remove all setting of the chart points.

clear() : void;

removeAt(number)

Removes point at the index of the series..

removeAt(index: number) : void;

Parameters:

ParameterTypeDescription
indexnumberThe index of the point.