public class ChartDataPointCollection extends DomObject<ChartSeries> implements IChartDataPointCollection
Represents collection of a series data point.
| Modifier and Type | Method and Description |
|---|---|
IChartDataPoint |
addDataPointForAreaSeries(double value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForAreaSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBarSeries(double value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBarSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBoxAndWhiskerSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(double xValue,
double yValue,
double bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(double xValue,
double yValue,
IChartDataCell bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(double xValue,
IChartDataCell yValue,
double bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(double xValue,
IChartDataCell yValue,
IChartDataCell bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(IChartDataCell xValue,
double yValue,
double bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(IChartDataCell xValue,
double yValue,
IChartDataCell bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(IChartDataCell xValue,
IChartDataCell yValue,
double bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(IChartDataCell xValue,
IChartDataCell yValue,
IChartDataCell bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(java.lang.String xValue,
double yValue,
double bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(java.lang.String xValue,
double yValue,
IChartDataCell bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(java.lang.String xValue,
IChartDataCell yValue,
double bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForBubbleSeries(java.lang.String xValue,
IChartDataCell yValue,
IChartDataCell bubbleSize)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForDoughnutSeries(double value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForDoughnutSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForFunnelSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForHistogramSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForLineSeries(double value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForLineSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForMapSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForPieSeries(double value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForPieSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForRadarSeries(double value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForRadarSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForScatterSeries(double xValue,
double yValue)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForScatterSeries(double xValue,
IChartDataCell yValue)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForScatterSeries(IChartDataCell xValue,
double yValue)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForScatterSeries(IChartDataCell xValue,
IChartDataCell yValue)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForScatterSeries(java.lang.String xValue,
double yValue)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForScatterSeries(java.lang.String xValue,
IChartDataCell yValue)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForStockSeries(double value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForStockSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForSunburstSeries(IChartDataCell sizeValue)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForSurfaceSeries(double value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForSurfaceSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForTreemapSeries(IChartDataCell sizeValue)
Creates the new data point and adds it to the end of collection.
|
IChartDataPoint |
addDataPointForWaterfallSeries(IChartDataCell value)
Creates the new data point and adds it to the end of collection.
|
void |
clear()
Removes all elements from the collection.
|
void |
copyTo(com.aspose.ms.System.Array array,
int arrayIndex)
Copy to specified array.
|
int |
get_Item(IChartDataPoint pt)
Return index (serial number) of data point in this collection.
|
IChartDataPoint |
get_Item(int index)
Returns the series data point by index (its serial number in this collection).
|
int |
getDataSourceTypeForBubbleSizes()
Specifies whether AsCell or AsLiteralString or AsLiteralDouble property
is actual in data points BubbleSize property object.
|
IDataSourceTypeForErrorBarsCustomValues |
getDataSourceTypeForErrorBarsCustomValues()
Specifies types of values in ChartDataPoint.ErrorBarsCustomValues properties list.
|
int |
getDataSourceTypeForValues()
Specifies whether AsCell or AsLiteralString or AsLiteralDouble property
is actual in data points Value property object.
|
int |
getDataSourceTypeForXValues()
Specifies whether AsCell or AsLiteralString or AsLiteralDouble property
is actual in data points XValue property object.
|
int |
getDataSourceTypeForYValues()
Specifies whether AsCell or AsLiteralString or AsLiteralDouble property
is actual in data points YValue property object.
|
IChartDataPoint |
getOrCreateDataPointByIdx(long index)
If collection already contains data point with index index then returns this data point.
|
java.lang.Object |
getSyncRoot()
Returns a synchronization root.
|
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataPoint> |
iterator()
Returns an enumerator that iterates through the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataPoint> |
iteratorJava()
Returns a java iterator for the entire collection.
|
void |
remove(IChartDataPoint value)
Removes the specified value.
|
void |
removeAt(int index)
Removes the element at the given index.
|
void |
setDataSourceTypeForBubbleSizes(int value)
Specifies whether AsCell or AsLiteralString or AsLiteralDouble property
is actual in data points BubbleSize property object.
|
void |
setDataSourceTypeForValues(int value)
Specifies whether AsCell or AsLiteralString or AsLiteralDouble property
is actual in data points Value property object.
|
void |
setDataSourceTypeForXValues(int value)
Specifies whether AsCell or AsLiteralString or AsLiteralDouble property
is actual in data points XValue property object.
|
void |
setDataSourceTypeForYValues(int value)
Specifies whether AsCell or AsLiteralString or AsLiteralDouble property
is actual in data points YValue property object.
|
int |
size()
Gets the number of elements actually contained in the collection.
|
getParent_Immediatepublic final IChartDataPoint get_Item(int index)
Returns the series data point by index (its serial number in this collection).
get_Item in interface IChartDataPointCollectionpublic final int get_Item(IChartDataPoint pt)
Return index (serial number) of data point in this collection.
get_Item in interface IChartDataPointCollectionpublic 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.
getDataSourceTypeForXValues in interface IChartDataPointCollectionpublic 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.
setDataSourceTypeForXValues in interface IChartDataPointCollectionpublic 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.
getDataSourceTypeForYValues in interface IChartDataPointCollectionpublic 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.
setDataSourceTypeForYValues in interface IChartDataPointCollectionpublic 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.
getDataSourceTypeForBubbleSizes in interface IChartDataPointCollectionpublic 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.
setDataSourceTypeForBubbleSizes in interface IChartDataPointCollectionpublic 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.
getDataSourceTypeForValues in interface IChartDataPointCollectionpublic 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.
setDataSourceTypeForValues in interface IChartDataPointCollectionpublic final IDataSourceTypeForErrorBarsCustomValues getDataSourceTypeForErrorBarsCustomValues()
Specifies types of values in ChartDataPoint.ErrorBarsCustomValues properties list.
Read-only IDataSourceTypeForErrorBarsCustomValues.
getDataSourceTypeForErrorBarsCustomValues in interface IChartDataPointCollectionpublic 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.
getOrCreateDataPointByIdx in interface IChartDataPointCollectionindex - Index.public final int size()
Gets the number of elements actually contained in the collection.
Read-only int.
size in interface com.aspose.ms.System.Collections.ICollection<IChartDataPoint>public final void copyTo(com.aspose.ms.System.Array array,
int arrayIndex)
Copy to specified array.
copyTo in interface com.aspose.ms.System.Collections.ICollection<IChartDataPoint>array - Array to copy to.arrayIndex - Index to begin copying.public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean.
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<IChartDataPoint>public final java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object.
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<IChartDataPoint>public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataPoint> iterator()
Returns an enumerator that iterates through the collection.
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartDataPoint>iterator in interface com.aspose.ms.System.Collections.IEnumerable<IChartDataPoint>iterator in interface java.lang.Iterable<IChartDataPoint>IGenericEnumerator that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IChartDataPoint> iteratorJava()
Returns a java iterator for the entire collection.
iteratorJava in interface IGenericCollection<IChartDataPoint>Iterator for the entire collection.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).
addDataPointForStockSeries in interface IChartDataPointCollectionvalue - Data point 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).
addDataPointForStockSeries in interface IChartDataPointCollectionvalue - Data point 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).
addDataPointForLineSeries in interface IChartDataPointCollectionvalue - Data point 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).
addDataPointForLineSeries in interface IChartDataPointCollectionvalue - Data point Value.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).
addDataPointForScatterSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuepublic 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).
addDataPointForScatterSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuepublic final IChartDataPoint addDataPointForScatterSeries(java.lang.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).
addDataPointForScatterSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuepublic 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).
addDataPointForScatterSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuepublic 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).
addDataPointForScatterSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuepublic final IChartDataPoint addDataPointForScatterSeries(java.lang.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).
addDataPointForScatterSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuepublic 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).
addDataPointForRadarSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForRadarSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForBarSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForBarSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForAreaSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForAreaSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForPieSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForPieSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForDoughnutSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForDoughnutSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic 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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic final IChartDataPoint addDataPointForBubbleSeries(java.lang.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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic 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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic 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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic final IChartDataPoint addDataPointForBubbleSeries(java.lang.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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic 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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic 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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic final IChartDataPoint addDataPointForBubbleSeries(java.lang.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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic 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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic 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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic final IChartDataPoint addDataPointForBubbleSeries(java.lang.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).
addDataPointForBubbleSeries in interface IChartDataPointCollectionxValue - Data point XValueyValue - Data point YValuebubbleSize - Data point BubbleSizepublic 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).
addDataPointForSurfaceSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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).
addDataPointForSurfaceSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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.
addDataPointForSunburstSeries in interface IChartDataPointCollectionsizeValue - Data point SizeValuepublic 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.
addDataPointForTreemapSeries in interface IChartDataPointCollectionsizeValue - Data point SizeValuepublic 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.
addDataPointForBoxAndWhiskerSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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.
addDataPointForWaterfallSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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.
addDataPointForHistogramSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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.
addDataPointForFunnelSeries in interface IChartDataPointCollectionvalue - Data point Valuepublic 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(); }
addDataPointForMapSeries in interface IChartDataPointCollectionvalue - Data point ColorValuepublic final void clear()
Removes all elements from the collection.
clear in interface IChartDataPointCollectionpublic final void remove(IChartDataPoint value)
Removes the specified value.
remove in interface IChartDataPointCollectionvalue - The value.public final void removeAt(int index)
Removes the element at the given index.
removeAt in interface IChartDataPointCollectionindex - Index of a data point to remove.Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.