ChartDataPointCollection

ChartDataPointCollection class

Represents collection of a series data point.

addDataPointForAreaSeries

NameDescription
addDataPointForAreaSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Area subtypes (see also ChartTypeCharacterizer#isChartTypeArea(int) method).

Parameters:

NameTypeDescription
valueChartDataCellData point Value

Returns: ChartDataPoint


addDataPointForAreaSeries

NameDescription
addDataPointForAreaSeries (double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Area subtypes (see also ChartTypeCharacterizer#isChartTypeArea(int) method).

Parameters:

NameTypeDescription
valuedoubleData point Value

Returns: ChartDataPoint


addDataPointForBarSeries

NameDescription
addDataPointForBarSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Column or Bar subtypes (see also ChartTypeCharacterizer#isChartTypeColumn(int) and ChartTypeCharacterizer#isChartTypeBar(int) method).

Parameters:

NameTypeDescription
valueChartDataCellData point Value

Returns: ChartDataPoint


addDataPointForBarSeries

NameDescription
addDataPointForBarSeries (double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Column or Bar subtypes (see also ChartTypeCharacterizer#isChartTypeColumn(int) and ChartTypeCharacterizer#isChartTypeBar(int) method).

Parameters:

NameTypeDescription
valuedoubleData point Value

Returns: ChartDataPoint


addDataPointForBoxAndWhiskerSeries

NameDescription
addDataPointForBoxAndWhiskerSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chart type is BoxAndWhisker.

Parameters:

NameTypeDescription
valueChartDataCellData point Value

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (ChartDataCell, ChartDataCell, ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValueChartDataCellData point XValue
yValueChartDataCellData point YValue
bubbleSizeChartDataCellData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (double, ChartDataCell, ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValuedoubleData point XValue
yValueChartDataCellData point YValue
bubbleSizeChartDataCellData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (String, ChartDataCell, ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValueStringData point XValue
yValueChartDataCellData point YValue
bubbleSizeChartDataCellData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (ChartDataCell, double, ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValueChartDataCellData point XValue
yValuedoubleData point YValue
bubbleSizeChartDataCellData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (double, double, ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValuedoubleData point XValue
yValuedoubleData point YValue
bubbleSizeChartDataCellData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (String, double, ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValueStringData point XValue
yValuedoubleData point YValue
bubbleSizeChartDataCellData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (ChartDataCell, ChartDataCell, double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValueChartDataCellData point XValue
yValueChartDataCellData point YValue
bubbleSizedoubleData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (double, ChartDataCell, double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValuedoubleData point XValue
yValueChartDataCellData point YValue
bubbleSizedoubleData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (String, ChartDataCell, double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValueStringData point XValue
yValueChartDataCellData point YValue
bubbleSizedoubleData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (ChartDataCell, double, double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValueChartDataCellData point XValue
yValuedoubleData point YValue
bubbleSizedoubleData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (double, double, double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValuedoubleData point XValue
yValuedoubleData point YValue
bubbleSizedoubleData point BubbleSize

Returns: ChartDataPoint


addDataPointForBubbleSeries

NameDescription
addDataPointForBubbleSeries (String, double, double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Bubble subtypes (see also ChartTypeCharacterizer#isChartTypeBubble(int) method).

Parameters:

NameTypeDescription
xValueStringData point XValue
yValuedoubleData point YValue
bubbleSizedoubleData point BubbleSize

Returns: ChartDataPoint


addDataPointForDoughnutSeries

NameDescription
addDataPointForDoughnutSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Doughnut subtypes (see also ChartTypeCharacterizer#isChartTypeDoughnut(int) method).

Parameters:

NameTypeDescription
valueChartDataCellData point Value

Returns: ChartDataPoint


addDataPointForDoughnutSeries

NameDescription
addDataPointForDoughnutSeries (double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Doughnut subtypes (see also ChartTypeCharacterizer#isChartTypeDoughnut(int) method).

Parameters:

NameTypeDescription
valuedoubleData point Value

Returns: ChartDataPoint


addDataPointForFunnelSeries

NameDescription
addDataPointForFunnelSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chart type is Funnel.

Parameters:

NameTypeDescription
valueChartDataCellData point Value

Returns: ChartDataPoint


addDataPointForHistogramSeries

NameDescription
addDataPointForHistogramSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chart type is Histogram.

Parameters:

NameTypeDescription
valueChartDataCellData point Value

Returns: ChartDataPoint


addDataPointForLineSeries

NameDescription
addDataPointForLineSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Line subtypes (see also ChartTypeCharacterizer#isChartTypeLine(int) method).

Parameters:

NameTypeDescription
valueChartDataCellData point Value.

Returns: ChartDataPoint


addDataPointForLineSeries

NameDescription
addDataPointForLineSeries (double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Line subtypes (see also ChartTypeCharacterizer#isChartTypeLine(int) method).

Parameters:

NameTypeDescription
valuedoubleData point Value.

Returns: ChartDataPoint


addDataPointForMapSeries

NameDescription
addDataPointForMapSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chart type is Map.

Parameters:

NameTypeDescription
valueChartDataCellData point ColorValue

Returns: ChartDataPoint


addDataPointForPieSeries

NameDescription
addDataPointForPieSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Pie subtypes (see also ChartTypeCharacterizer#isChartTypePie(int) method).

Parameters:

NameTypeDescription
valueChartDataCellData point Value

Returns: ChartDataPoint


addDataPointForPieSeries

NameDescription
addDataPointForPieSeries (double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Pie subtypes (see also ChartTypeCharacterizer#isChartTypePie(int) method).

Parameters:

NameTypeDescription
valuedoubleData point Value

Returns: ChartDataPoint


addDataPointForRadarSeries

NameDescription
addDataPointForRadarSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Radar subtypes (see also ChartTypeCharacterizer#isChartTypeRadar(int) method).

Parameters:

NameTypeDescription
valueChartDataCellData point Value

Returns: ChartDataPoint


addDataPointForRadarSeries

NameDescription
addDataPointForRadarSeries (double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Radar subtypes (see also ChartTypeCharacterizer#isChartTypeRadar(int) method).

Parameters:

NameTypeDescription
valuedoubleData point Value

Returns: ChartDataPoint


addDataPointForScatterSeries

NameDescription
addDataPointForScatterSeries (ChartDataCell, ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Scatter subtypes (see also ChartTypeCharacterizer#isChartTypeScatter(int) method).

Parameters:

NameTypeDescription
xValueChartDataCellData point XValue
yValueChartDataCellData point YValue

Returns: ChartDataPoint


addDataPointForScatterSeries

NameDescription
addDataPointForScatterSeries (double, ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Scatter subtypes (see also ChartTypeCharacterizer#isChartTypeScatter(int) method).

Parameters:

NameTypeDescription
xValuedoubleData point XValue
yValueChartDataCellData point YValue

Returns: ChartDataPoint


addDataPointForScatterSeries

NameDescription
addDataPointForScatterSeries (String, ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Scatter subtypes (see also ChartTypeCharacterizer#isChartTypeScatter(int) method).

Parameters:

NameTypeDescription
xValueStringData point XValue
yValueChartDataCellData point YValue

Returns: ChartDataPoint


addDataPointForScatterSeries

NameDescription
addDataPointForScatterSeries (ChartDataCell, double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Scatter subtypes (see also ChartTypeCharacterizer#isChartTypeScatter(int) method).

Parameters:

NameTypeDescription
xValueChartDataCellData point XValue
yValuedoubleData point YValue

Returns: ChartDataPoint


addDataPointForScatterSeries

NameDescription
addDataPointForScatterSeries (double, double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Scatter subtypes (see also ChartTypeCharacterizer#isChartTypeScatter(int) method).

Parameters:

NameTypeDescription
xValuedoubleData point XValue
yValuedoubleData point YValue

Returns: ChartDataPoint


addDataPointForScatterSeries

NameDescription
addDataPointForScatterSeries (String, double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Scatter subtypes (see also ChartTypeCharacterizer#isChartTypeScatter(int) method).

Parameters:

NameTypeDescription
xValueStringData point XValue
yValuedoubleData point YValue

Returns: ChartDataPoint


addDataPointForStockSeries

NameDescription
addDataPointForStockSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Stock subtypes (see also ChartTypeCharacterizer#isChartTypeStock(int) method).

Parameters:

NameTypeDescription
valueChartDataCellData point Value.

Returns: ChartDataPoint


addDataPointForStockSeries

NameDescription
addDataPointForStockSeries (double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Stock subtypes (see also ChartTypeCharacterizer#isChartTypeStock(int) method).

Parameters:

NameTypeDescription
valuedoubleData point Value.

Returns: ChartDataPoint


addDataPointForSunburstSeries

NameDescription
addDataPointForSunburstSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chart type is Sunburst.

Parameters:

NameTypeDescription
sizeValueChartDataCellData point SizeValue

Returns: ChartDataPoint


addDataPointForSurfaceSeries

NameDescription
addDataPointForSurfaceSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Surface subtypes (see also ChartTypeCharacterizer#isChartTypeSurface(int) method).

Parameters:

NameTypeDescription
valueChartDataCellData point Value

Returns: ChartDataPoint


addDataPointForSurfaceSeries

NameDescription
addDataPointForSurfaceSeries (double)Creates the new data point and adds it to the end of collection. Applicable for series which chartType is one of Surface subtypes (see also ChartTypeCharacterizer#isChartTypeSurface(int) method).

Parameters:

NameTypeDescription
valuedoubleData point Value

Returns: ChartDataPoint


addDataPointForTreemapSeries

NameDescription
addDataPointForTreemapSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chart type is Treemap.

Parameters:

NameTypeDescription
sizeValueChartDataCellData point SizeValue

Returns: ChartDataPoint


addDataPointForWaterfallSeries

NameDescription
addDataPointForWaterfallSeries (ChartDataCell)Creates the new data point and adds it to the end of collection. Applicable for series which chart type is Waterfall.

Parameters:

NameTypeDescription
valueChartDataCellData point Value

Returns: ChartDataPoint


clear

NameDescription
clear ()Removes all elements from the collection.

Returns: void


getDataSourceTypeForBubbleSizes

NameDescription
getDataSourceTypeForBubbleSizes ()Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points BubbleSize property object. In other words it specifies the type of value of ChartDataPoint.BubbleSize.Data property. Read/write DataSourceType.

Returns: int


getDataSourceTypeForErrorBarsCustomValues

NameDescription
getDataSourceTypeForErrorBarsCustomValues ()Specifies types of values in ChartDataPoint.ErrorBarsCustomValues properties list. Read-only IDataSourceTypeForErrorBarsCustomValues.

Returns: DataSourceTypeForErrorBarsCustomValues


getDataSourceTypeForValues

NameDescription
getDataSourceTypeForValues ()Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points Value property object. In other words it specifies the type of value of ChartDataPoint.Value.Data property. Read/write DataSourceType.

Returns: int


getDataSourceTypeForXValues

NameDescription
getDataSourceTypeForXValues ()Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points XValue property object. In other words it specifies the type of value of ChartDataPoint.XValue.Data property. Read/write DataSourceType.

Returns: int


getDataSourceTypeForYValues

NameDescription
getDataSourceTypeForYValues ()Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points YValue property object. In other words it specifies the type of value of ChartDataPoint.YValue.Data property. Read/write DataSourceType.

Returns: int


getOrCreateDataPointByIdx

NameDescription
getOrCreateDataPointByIdx (long)If collection already contains data point with index index then returns this data point. If collection doesn’t contains data point with index index==N (when number of data points in this collection is less or equal then N) then adds deficient data points and returns last (which has requested index). For example, collection indexes are {0, 1, 2}, and requested index is 5. Then method adds deficient data points: {0, 1, 2, 3, 4, 5}. And returns data point with index 5.

Parameters:

NameTypeDescription
indexlongIndex.

Returns: ChartDataPoint


getSyncRoot

NameDescription
getSyncRoot ()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item (int)Returns the series data point by index (its serial number in this collection).

Returns: ChartDataPoint


get_Item

NameDescription
get_Item (ChartDataPoint)Return index (serial number) of data point in this collection.

Returns: int


isSynchronized

NameDescription
isSynchronized ()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


remove

NameDescription
remove (ChartDataPoint)Removes the specified value.

Parameters:

NameTypeDescription
valueChartDataPointThe value.

Returns: void


removeAt

NameDescription
removeAt (int)Removes the element at the given index.

Parameters:

NameTypeDescription
indexintIndex of a data point to remove.

Returns: void


setDataSourceTypeForBubbleSizes

NameDescription
setDataSourceTypeForBubbleSizes (int)Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points BubbleSize property object. In other words it specifies the type of value of ChartDataPoint.BubbleSize.Data property. Read/write DataSourceType.

Returns: void


setDataSourceTypeForValues

NameDescription
setDataSourceTypeForValues (int)Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points Value property object. In other words it specifies the type of value of ChartDataPoint.Value.Data property. Read/write DataSourceType.

Returns: void


setDataSourceTypeForXValues

NameDescription
setDataSourceTypeForXValues (int)Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points XValue property object. In other words it specifies the type of value of ChartDataPoint.XValue.Data property. Read/write DataSourceType.

Returns: void


setDataSourceTypeForYValues

NameDescription
setDataSourceTypeForYValues (int)Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points YValue property object. In other words it specifies the type of value of ChartDataPoint.YValue.Data property. Read/write DataSourceType.

Returns: void


size

NameDescription
size ()Gets the number of elements actually contained in the collection. Read-only int.

Returns: int