ChartDataPointCollection
Inheritance: java.lang.Object, com.aspose.slides.DomObject
All Implemented Interfaces: com.aspose.slides.IChartDataPointCollection
public class ChartDataPointCollection extends DomObject<ChartSeries> implements IChartDataPointCollection
Represents collection of a series data point.
Methods
Method | Description |
---|---|
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) 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 types of values in ChartDataPoint.ErrorBarsCustomValues properties list. |
getOrCreateDataPointByIdx(long index) | If collection already contains data point with index index then returns this data point. |
size() | Gets the number of elements actually contained in the collection. |
copyTo(System.Array array, int arrayIndex) | Copy to specified array. |
isSynchronized() | Returns a value indicating whether access to the collection is synchronized (thread-safe). |
getSyncRoot() | Returns a synchronization root. |
iterator() | Returns an enumerator that iterates through the collection. |
iteratorJava() | Returns a java iterator for the entire collection. |
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. |
addDataPointForTreemapSeries(IChartDataCell sizeValue) | 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. |
addDataPointForWaterfallSeries(IChartDataCell value) | 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 final IChartDataPoint get_Item(int index)
Returns the series data point by index (its serial number in this collection).
Parameters:
Parameter | Type | Description |
---|---|---|
index | int |
Returns: IChartDataPoint
get_Item(IChartDataPoint pt)
public final int get_Item(IChartDataPoint pt)
Return index (serial number) of data point in this collection.
Parameters:
Parameter | Type | Description |
---|---|---|
pt | IChartDataPoint |
Returns: int
getDataSourceTypeForXValues()
public final 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 ChartDataPoint.XValue.Data property. Read/write DataSourceType.
Returns: int
setDataSourceTypeForXValues(int value)
public final 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 ChartDataPoint.XValue.Data property. Read/write DataSourceType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getDataSourceTypeForYValues()
public final 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 ChartDataPoint.YValue.Data property. Read/write DataSourceType.
Returns: int
setDataSourceTypeForYValues(int value)
public final 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 ChartDataPoint.YValue.Data property. Read/write DataSourceType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getDataSourceTypeForBubbleSizes()
public final 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 ChartDataPoint.BubbleSize.Data property. Read/write DataSourceType.
Returns: int
setDataSourceTypeForBubbleSizes(int value)
public final 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 ChartDataPoint.BubbleSize.Data property. Read/write DataSourceType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getDataSourceTypeForValues()
public final 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 final 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 final IDataSourceTypeForErrorBarsCustomValues getDataSourceTypeForErrorBarsCustomValues()
Specifies types of values in ChartDataPoint.ErrorBarsCustomValues properties list. Read-only IDataSourceTypeForErrorBarsCustomValues.
Returns: IDataSourceTypeForErrorBarsCustomValues
getOrCreateDataPointByIdx(long index)
public final 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.
size()
public final int size()
Gets the number of elements actually contained in the collection. Read-only int.
Returns: int
copyTo(System.Array array, int arrayIndex)
public final void copyTo(System.Array array, int arrayIndex)
Copy to specified array.
Parameters:
Parameter | Type | Description |
---|---|---|
array | com.aspose.ms.System.Array | Array to copy to. |
arrayIndex | int | Index to begin copying. |
isSynchronized()
public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.
Returns: boolean
getSyncRoot()
public final Object getSyncRoot()
Returns a synchronization root. Read-only Object.
Returns: java.lang.Object
iterator()
public final System.Collections.Generic.IGenericEnumerator<IChartDataPoint> iterator()
Returns an enumerator that iterates through the collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IChartDataPoint> - A IGenericEnumerator that can be used to iterate through the collection.
iteratorJava()
public final System.Collections.Generic.IGenericEnumerator<IChartDataPoint> iteratorJava()
Returns a java iterator for the entire collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IChartDataPoint> - An java.util.Iterator for the entire collection.
addDataPointForStockSeries(IChartDataCell value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | IChartDataCell | Data point Value. |
Returns: IChartDataPoint - New data point.
addDataPointForStockSeries(double value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | Data point Value. |
Returns: IChartDataPoint - New data point.
addDataPointForLineSeries(IChartDataCell value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | IChartDataCell | Data point Value. |
Returns: IChartDataPoint - New data point.
addDataPointForLineSeries(double value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | Data point Value. |
Returns: IChartDataPoint - New data point.
addDataPointForScatterSeries(IChartDataCell xValue, IChartDataCell yValue)
public final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | IChartDataCell | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForRadarSeries(double value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForBarSeries(IChartDataCell value)
public final 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(int) and ChartTypeCharacterizer.isChartTypeBar(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | IChartDataCell | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForBarSeries(double value)
public final 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(int) and ChartTypeCharacterizer.isChartTypeBar(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForAreaSeries(IChartDataCell value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | IChartDataCell | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForAreaSeries(double value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForPieSeries(IChartDataCell value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | IChartDataCell | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForPieSeries(double value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForDoughnutSeries(IChartDataCell value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | IChartDataCell | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForDoughnutSeries(double value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForBubbleSeries(IChartDataCell xValue, IChartDataCell yValue, IChartDataCell bubbleSize)
public final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) 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 final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | IChartDataCell | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForSurfaceSeries(double value)
public final 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(int) method).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | Data point Value |
Returns: IChartDataPoint - New data point.
addDataPointForSunburstSeries(IChartDataCell sizeValue)
public final 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.
addDataPointForTreemapSeries(IChartDataCell sizeValue)
public final 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.
addDataPointForBoxAndWhiskerSeries(IChartDataCell value)
public final 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.
addDataPointForWaterfallSeries(IChartDataCell value)
public final 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.
addDataPointForHistogramSeries(IChartDataCell value)
public final 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 final 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 final 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 final void clear()
Removes all elements from the collection.
remove(IChartDataPoint value)
public final void remove(IChartDataPoint value)
Removes the specified value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IChartDataPoint | The value. |
removeAt(int index)
public final void removeAt(int index)
Removes the element at the given index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of a data point to remove. |