IChartDataPointCollection

All Implemented Interfaces: com.aspose.slides.IGenericCollection

public interface IChartDataPointCollection extends IGenericCollection<IChartDataPoint>

Represents collection of a series data point.

Methods

Method Description
get_Item(int index) Returns the series data point by index.
get_Item(IChartDataPoint pt) Return index 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.

Parameters:

Parameter Type Description
index int

Returns: IChartDataPoint

get_Item(IChartDataPoint pt)

public abstract int get_Item(IChartDataPoint pt)

Return index of data point in this collection.

Parameters:

Parameter Type Description
pt IChartDataPoint

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:

Parameter Type Description
value int

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:

Parameter Type Description
value int

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:

Parameter Type Description
value int

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:

Parameter Type Description
value int

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:

Parameter Type Description
index long Index.

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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value double Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value double Data 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:

Parameter Type Description
xValue IChartDataCell Data point XValue
yValue IChartDataCell Data 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:

Parameter Type Description
xValue double Data point XValue
yValue IChartDataCell Data 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:

Parameter Type Description
xValue java.lang.String Data point XValue
yValue IChartDataCell Data 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:

Parameter Type Description
xValue IChartDataCell Data point XValue
yValue double Data 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:

Parameter Type Description
xValue double Data point XValue
yValue double Data 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:

Parameter Type Description
xValue java.lang.String Data point XValue
yValue double Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value double Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value double Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value double Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value double Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value double Data 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:

Parameter Type Description
xValue IChartDataCell Data point XValue
yValue IChartDataCell Data point YValue
bubbleSize IChartDataCell Data 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:

Parameter Type Description
xValue double Data point XValue
yValue IChartDataCell Data point YValue
bubbleSize IChartDataCell Data 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:

Parameter Type Description
xValue java.lang.String Data point XValue
yValue IChartDataCell Data point YValue
bubbleSize IChartDataCell Data 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:

Parameter Type Description
xValue IChartDataCell Data point XValue
yValue double Data point YValue
bubbleSize IChartDataCell Data 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:

Parameter Type Description
xValue double Data point XValue
yValue double Data point YValue
bubbleSize IChartDataCell Data 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:

Parameter Type Description
xValue java.lang.String Data point XValue
yValue double Data point YValue
bubbleSize IChartDataCell Data 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:

Parameter Type Description
xValue IChartDataCell Data point XValue
yValue IChartDataCell Data point YValue
bubbleSize double Data 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:

Parameter Type Description
xValue double Data point XValue
yValue IChartDataCell Data point YValue
bubbleSize double Data 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:

Parameter Type Description
xValue java.lang.String Data point XValue
yValue IChartDataCell Data point YValue
bubbleSize double Data 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:

Parameter Type Description
xValue IChartDataCell Data point XValue
yValue double Data point YValue
bubbleSize double Data 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:

Parameter Type Description
xValue double Data point XValue
yValue double Data point YValue
bubbleSize double Data 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:

Parameter Type Description
xValue java.lang.String Data point XValue
yValue double Data point YValue
bubbleSize double Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value double Data 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:

Parameter Type Description
sizeValue IChartDataCell Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
sizeValue IChartDataCell Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value IChartDataCell Data 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:

Parameter Type Description
value IChartDataPoint The value.

removeAt(int index)

public abstract void removeAt(int index)

Removes the element at the given index.

Parameters:

Parameter Type Description
index int Index of a data point to remove.