IChartDataPointCollection

All Implemented Interfaces: com.aspose.slides.IGenericCollection

public interface IChartDataPointCollection extends IGenericCollection<IChartDataPoint>

Represents collection of a series data point.

Methods

MethodDescription
get_Item(int index)Returns the series data point by index (its serial number in this collection).
get_Item(IChartDataPoint pt)Return index (serial number in this collection) of data point in this collection.
getDataSourceTypeForXValues()Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points XValue property object.
setDataSourceTypeForXValues(int value)Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points XValue property object.
getDataSourceTypeForYValues()Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points YValue property object.
setDataSourceTypeForYValues(int value)Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points YValue property object.
getDataSourceTypeForBubbleSizes()Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points BubbleSize property object.
setDataSourceTypeForBubbleSizes(int value)Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points BubbleSize property object.
getDataSourceTypeForValues()Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points Value property object.
setDataSourceTypeForValues(int value)Specifies whether AsCell or AsLiteralString or AsLiteralDouble property is actual in data points Value property object.
getDataSourceTypeForErrorBarsCustomValues()Specifies the type of values in ChartDataPoint.ErrorBarsCustomValues properties list.
getOrCreateDataPointByIdx(long index)If collection already contains data point with index index then returns this data point.
addDataPointForStockSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForStockSeries(double value)Creates the new data point and adds it to the end of collection.
addDataPointForLineSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForLineSeries(double value)Creates the new data point and adds it to the end of collection.
addDataPointForScatterSeries(IChartDataCell xValue, IChartDataCell yValue)Creates the new data point and adds it to the end of collection.
addDataPointForScatterSeries(double xValue, IChartDataCell yValue)Creates the new data point and adds it to the end of collection.
addDataPointForScatterSeries(String xValue, IChartDataCell yValue)Creates the new data point and adds it to the end of collection.
addDataPointForScatterSeries(IChartDataCell xValue, double yValue)Creates the new data point and adds it to the end of collection.
addDataPointForScatterSeries(double xValue, double yValue)Creates the new data point and adds it to the end of collection.
addDataPointForScatterSeries(String xValue, double yValue)Creates the new data point and adds it to the end of collection.
addDataPointForRadarSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForRadarSeries(double value)Creates the new data point and adds it to the end of collection.
addDataPointForBarSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForBarSeries(double value)Creates the new data point and adds it to the end of collection.
addDataPointForAreaSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForAreaSeries(double value)Creates the new data point and adds it to the end of collection.
addDataPointForPieSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForPieSeries(double value)Creates the new data point and adds it to the end of collection.
addDataPointForDoughnutSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForDoughnutSeries(double value)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(IChartDataCell xValue, IChartDataCell yValue, IChartDataCell bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(double xValue, IChartDataCell yValue, IChartDataCell bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(String xValue, IChartDataCell yValue, IChartDataCell bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(IChartDataCell xValue, double yValue, IChartDataCell bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(double xValue, double yValue, IChartDataCell bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(String xValue, double yValue, IChartDataCell bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(IChartDataCell xValue, IChartDataCell yValue, double bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(double xValue, IChartDataCell yValue, double bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(String xValue, IChartDataCell yValue, double bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(IChartDataCell xValue, double yValue, double bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(double xValue, double yValue, double bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForBubbleSeries(String xValue, double yValue, double bubbleSize)Creates the new data point and adds it to the end of collection.
addDataPointForSurfaceSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForSurfaceSeries(double value)Creates the new data point and adds it to the end of collection.
addDataPointForSunburstSeries(IChartDataCell sizeValue)Creates the new data point and adds it to the end of collection.
addDataPointForWaterfallSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForBoxAndWhiskerSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForTreemapSeries(IChartDataCell sizeValue)Creates the new data point and adds it to the end of collection.
addDataPointForHistogramSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForFunnelSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
addDataPointForMapSeries(IChartDataCell value)Creates the new data point and adds it to the end of collection.
clear()Removes all elements from the collection.
remove(IChartDataPoint value)Removes the specified value.
removeAt(int index)Removes the element at the given index.

get_Item(int index)

public abstract IChartDataPoint get_Item(int index)

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

Parameters:

ParameterTypeDescription
indexint

Returns: IChartDataPoint

get_Item(IChartDataPoint pt)

public abstract int get_Item(IChartDataPoint pt)

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

Parameters:

ParameterTypeDescription
ptIChartDataPoint

Returns: int

getDataSourceTypeForXValues()

public abstract int 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 ChartDataPointEx.XValue.Data property. Read/write DataSourceType.

Returns: int

setDataSourceTypeForXValues(int value)

public abstract void setDataSourceTypeForXValues(int value)

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 ChartDataPointEx.XValue.Data property. Read/write DataSourceType.

Parameters:

ParameterTypeDescription
valueint

getDataSourceTypeForYValues()

public abstract int 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 ChartDataPointEx.YValue.Data property. Read/write DataSourceType.

Returns: int

setDataSourceTypeForYValues(int value)

public abstract void setDataSourceTypeForYValues(int value)

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 ChartDataPointEx.YValue.Data property. Read/write DataSourceType.

Parameters:

ParameterTypeDescription
valueint

getDataSourceTypeForBubbleSizes()

public abstract int 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 ChartDataPointEx.BubbleSize.Data property. Read/write DataSourceType.

Returns: int

setDataSourceTypeForBubbleSizes(int value)

public abstract void setDataSourceTypeForBubbleSizes(int value)

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 ChartDataPointEx.BubbleSize.Data property. Read/write DataSourceType.

Parameters:

ParameterTypeDescription
valueint

getDataSourceTypeForValues()

public abstract int 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

setDataSourceTypeForValues(int value)

public abstract void setDataSourceTypeForValues(int value)

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.

Parameters:

ParameterTypeDescription
valueint

getDataSourceTypeForErrorBarsCustomValues()

public abstract IDataSourceTypeForErrorBarsCustomValues getDataSourceTypeForErrorBarsCustomValues()

Specifies the type of values in ChartDataPoint.ErrorBarsCustomValues properties list. Read-only IDataSourceTypeForErrorBarsCustomValues.

Returns: IDataSourceTypeForErrorBarsCustomValues

getOrCreateDataPointByIdx(long index)

public abstract IChartDataPoint getOrCreateDataPointByIdx(long index)

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:

ParameterTypeDescription
indexlongIndex.

Returns: IChartDataPoint - Returns data point with requested index.

addDataPointForStockSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForStockSeries(IChartDataCell value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valueIChartDataCellData point Value.

Returns: IChartDataPoint - New data point.

addDataPointForStockSeries(double value)

public abstract IChartDataPoint addDataPointForStockSeries(double value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valuedoubleData point Value.

Returns: IChartDataPoint - New data point.

addDataPointForLineSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForLineSeries(IChartDataCell value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valueIChartDataCellData point Value.

Returns: IChartDataPoint - New data point.

addDataPointForLineSeries(double value)

public abstract IChartDataPoint addDataPointForLineSeries(double value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valuedoubleData point Value.

Returns: IChartDataPoint - New data point.

addDataPointForScatterSeries(IChartDataCell xValue, IChartDataCell yValue)

public abstract IChartDataPoint addDataPointForScatterSeries(IChartDataCell xValue, IChartDataCell yValue)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValueIChartDataCellData point XValue
yValueIChartDataCellData point YValue

Returns: IChartDataPoint - New data point.

addDataPointForScatterSeries(double xValue, IChartDataCell yValue)

public abstract IChartDataPoint addDataPointForScatterSeries(double xValue, IChartDataCell yValue)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuedoubleData point XValue
yValueIChartDataCellData point YValue

Returns: IChartDataPoint - New data point.

addDataPointForScatterSeries(String xValue, IChartDataCell yValue)

public abstract IChartDataPoint addDataPointForScatterSeries(String xValue, IChartDataCell yValue)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuejava.lang.StringData point XValue
yValueIChartDataCellData point YValue

Returns: IChartDataPoint - New data point.

addDataPointForScatterSeries(IChartDataCell xValue, double yValue)

public abstract IChartDataPoint addDataPointForScatterSeries(IChartDataCell xValue, double yValue)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValueIChartDataCellData point XValue
yValuedoubleData point YValue

Returns: IChartDataPoint - New data point.

addDataPointForScatterSeries(double xValue, double yValue)

public abstract IChartDataPoint addDataPointForScatterSeries(double xValue, double yValue)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuedoubleData point XValue
yValuedoubleData point YValue

Returns: IChartDataPoint - New data point.

addDataPointForScatterSeries(String xValue, double yValue)

public abstract IChartDataPoint addDataPointForScatterSeries(String xValue, double yValue)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuejava.lang.StringData point XValue
yValuedoubleData point YValue

Returns: IChartDataPoint - New data point.

addDataPointForRadarSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForRadarSeries(IChartDataCell value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valueIChartDataCellData point Value

Returns: IChartDataPoint - New data point.

addDataPointForRadarSeries(double value)

public abstract IChartDataPoint addDataPointForRadarSeries(double value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valuedoubleData point Value

Returns: IChartDataPoint - New data point.

addDataPointForBarSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForBarSeries(IChartDataCell value)

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(ChartType) and ChartTypeCharacterizer.IsChartTypeBar(ChartType) method).

Parameters:

ParameterTypeDescription
valueIChartDataCellData point Value

Returns: IChartDataPoint - New data point.

addDataPointForBarSeries(double value)

public abstract IChartDataPoint addDataPointForBarSeries(double value)

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(ChartType) and ChartTypeCharacterizer.IsChartTypeBar(ChartType) method).

Parameters:

ParameterTypeDescription
valuedoubleData point Value

Returns: IChartDataPoint - New data point.

addDataPointForAreaSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForAreaSeries(IChartDataCell value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valueIChartDataCellData point Value

Returns: IChartDataPoint - New data point.

addDataPointForAreaSeries(double value)

public abstract IChartDataPoint addDataPointForAreaSeries(double value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valuedoubleData point Value

Returns: IChartDataPoint - New data point.

addDataPointForPieSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForPieSeries(IChartDataCell value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valueIChartDataCellData point Value

Returns: IChartDataPoint - New data point.

addDataPointForPieSeries(double value)

public abstract IChartDataPoint addDataPointForPieSeries(double value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valuedoubleData point Value

Returns: IChartDataPoint - New data point.

addDataPointForDoughnutSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForDoughnutSeries(IChartDataCell value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valueIChartDataCellData point Value

Returns: IChartDataPoint - New data point.

addDataPointForDoughnutSeries(double value)

public abstract IChartDataPoint addDataPointForDoughnutSeries(double value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valuedoubleData point Value

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(IChartDataCell xValue, IChartDataCell yValue, IChartDataCell bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(IChartDataCell xValue, IChartDataCell yValue, IChartDataCell bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValueIChartDataCellData point XValue
yValueIChartDataCellData point YValue
bubbleSizeIChartDataCellData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(double xValue, IChartDataCell yValue, IChartDataCell bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(double xValue, IChartDataCell yValue, IChartDataCell bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuedoubleData point XValue
yValueIChartDataCellData point YValue
bubbleSizeIChartDataCellData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(String xValue, IChartDataCell yValue, IChartDataCell bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(String xValue, IChartDataCell yValue, IChartDataCell bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuejava.lang.StringData point XValue
yValueIChartDataCellData point YValue
bubbleSizeIChartDataCellData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(IChartDataCell xValue, double yValue, IChartDataCell bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(IChartDataCell xValue, double yValue, IChartDataCell bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValueIChartDataCellData point XValue
yValuedoubleData point YValue
bubbleSizeIChartDataCellData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(double xValue, double yValue, IChartDataCell bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(double xValue, double yValue, IChartDataCell bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuedoubleData point XValue
yValuedoubleData point YValue
bubbleSizeIChartDataCellData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(String xValue, double yValue, IChartDataCell bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(String xValue, double yValue, IChartDataCell bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuejava.lang.StringData point XValue
yValuedoubleData point YValue
bubbleSizeIChartDataCellData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(IChartDataCell xValue, IChartDataCell yValue, double bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(IChartDataCell xValue, IChartDataCell yValue, double bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValueIChartDataCellData point XValue
yValueIChartDataCellData point YValue
bubbleSizedoubleData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(double xValue, IChartDataCell yValue, double bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(double xValue, IChartDataCell yValue, double bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuedoubleData point XValue
yValueIChartDataCellData point YValue
bubbleSizedoubleData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(String xValue, IChartDataCell yValue, double bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(String xValue, IChartDataCell yValue, double bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuejava.lang.StringData point XValue
yValueIChartDataCellData point YValue
bubbleSizedoubleData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(IChartDataCell xValue, double yValue, double bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(IChartDataCell xValue, double yValue, double bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValueIChartDataCellData point XValue
yValuedoubleData point YValue
bubbleSizedoubleData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(double xValue, double yValue, double bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(double xValue, double yValue, double bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuedoubleData point XValue
yValuedoubleData point YValue
bubbleSizedoubleData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForBubbleSeries(String xValue, double yValue, double bubbleSize)

public abstract IChartDataPoint addDataPointForBubbleSeries(String xValue, double yValue, double bubbleSize)

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(ChartType) method).

Parameters:

ParameterTypeDescription
xValuejava.lang.StringData point XValue
yValuedoubleData point YValue
bubbleSizedoubleData point BubbleSize

Returns: IChartDataPoint - New data point.

addDataPointForSurfaceSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForSurfaceSeries(IChartDataCell value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valueIChartDataCellData point Value

Returns: IChartDataPoint - New data point.

addDataPointForSurfaceSeries(double value)

public abstract IChartDataPoint addDataPointForSurfaceSeries(double value)

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(ChartType) method).

Parameters:

ParameterTypeDescription
valuedoubleData point Value

Returns: IChartDataPoint - New data point.

addDataPointForSunburstSeries(IChartDataCell sizeValue)

public abstract IChartDataPoint addDataPointForSunburstSeries(IChartDataCell sizeValue)

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

Parameters:

ParameterTypeDescription
sizeValueIChartDataCellData point SizeValue

Returns: IChartDataPoint - New data point.

addDataPointForWaterfallSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForWaterfallSeries(IChartDataCell value)

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

Parameters:

ParameterTypeDescription
valueIChartDataCellData point value

Returns: IChartDataPoint - New data point.

addDataPointForBoxAndWhiskerSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForBoxAndWhiskerSeries(IChartDataCell value)

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

Parameters:

ParameterTypeDescription
valueIChartDataCellData point Value

Returns: IChartDataPoint - New data point.

addDataPointForTreemapSeries(IChartDataCell sizeValue)

public abstract IChartDataPoint addDataPointForTreemapSeries(IChartDataCell sizeValue)

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

Parameters:

ParameterTypeDescription
sizeValueIChartDataCellData point SizeValue

Returns: IChartDataPoint - New data point.

addDataPointForHistogramSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForHistogramSeries(IChartDataCell value)

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

Parameters:

ParameterTypeDescription
valueIChartDataCellData point value

Returns: IChartDataPoint - New data point.

addDataPointForFunnelSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForFunnelSeries(IChartDataCell value)

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

Parameters:

ParameterTypeDescription
valueIChartDataCellData point value

Returns: IChartDataPoint - New data point.

addDataPointForMapSeries(IChartDataCell value)

public abstract IChartDataPoint addDataPointForMapSeries(IChartDataCell value)

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


Presentation pres = new Presentation();
 try {
     IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.Map, 50, 50, 500, 400, false);
     IChartDataWorkbook wb = chart.getChartData().getChartDataWorkbook();
     IChartSeries series = chart.getChartData().getSeries().add(ChartType.Map);
     series.getDataPoints().addDataPointForMapSeries(wb.getCell(0, "B2", 5));
     series.getDataPoints().addDataPointForMapSeries(wb.getCell(0, "B3", 1));
     series.getDataPoints().addDataPointForMapSeries(wb.getCell(0, "B4", 10));
 } finally {
     if (pres != null) pres.dispose();
 }

Parameters:

ParameterTypeDescription
valueIChartDataCellData point ColorValue

Returns: IChartDataPoint - New data point.

clear()

public abstract void clear()

Removes all elements from the collection.

remove(IChartDataPoint value)

public abstract void remove(IChartDataPoint value)

Removes the specified value.

Parameters:

ParameterTypeDescription
valueIChartDataPointThe value.

removeAt(int index)

public abstract void removeAt(int index)

Removes the element at the given index.

Parameters:

ParameterTypeDescription
indexintIndex of a data point to remove.