ChartSeries
Overview
ChartSeries is a class in Aspose.Words FOSS for Java.
Inherits from: IChartDataPoint, IDmlExtensionListSource, Cloneable.
Represents chart series properties.
Edition status of its 40 listed members (a property and its accessor methods are listed separately, overloads once): 40 not yet exercised by a verified example.
This class declares 31 methods for ChartSeries objects in Java programs.
Available methods include: add, clear, clearValues, copyFormatFrom, getBubble3D, getBubbleSizes, getDataLabels, getDataPoints, getExplosion, getFormat, getInvertIfNegative, getLegendEntry, and 14 additional methods.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: bubble3D, bubbleSizes, dataLabels, dataPoints, explosion, format, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
explosion | int | Read/Write | Specifies the amount the data point shall be moved from the center of the pie. |
invertIfNegative | boolean | Read/Write | Specifies whether the parent element shall inverts its colors if the value is negative. |
marker | ChartMarker | Read | Specifies a data marker. |
bubble3D | boolean | Read/Write | Specifies whether the bubbles in Bubble chart should have a 3-D effect applied to them. |
dataPoints | ChartDataPointCollection | Read | Returns a collection of formatting objects for all data points in this series. |
name | String | Read/Write | Gets or sets the name of the series, if name is not set explicitly it is generated using index. |
smooth | boolean | Read/Write | Allows to specify whether the line connecting the points on the chart shall be smoothed using Catmull-Rom splines. |
dataLabels | ChartDataLabelCollection | Read | Specifies the settings for the data labels for the entire series. |
format | ChartFormat | Read | Provides access to fill and line formatting of the series. |
legendEntry | ChartLegendEntry | Read | Gets a legend entry for this chart series. |
seriesType | int | Read | Gets the type of this chart series. |
xValues | ChartXValueCollection | Read | Gets a collection of X values for this chart series. |
yValues | ChartYValueCollection | Read | Gets a collection of Y values for this chart series. |
bubbleSizes | BubbleSizeCollection | Read | Gets a collection of bubble sizes for this chart series. |
Methods
| Signature | Description |
|---|---|
add(xValue: ChartXValue) | Adds the specified X value to the chart series. |
add(xValue: ChartXValue, yValue: ChartYValue) | Adds the specified X and Y values to the chart series. |
add(xValue: ChartXValue, yValue: ChartYValue, bubbleSize: double) | Adds the specified X value, Y value and bubble size to the chart series. |
insert(index: int, xValue: ChartXValue) | Inserts the specified X value into the chart series at the specified index. |
insert(index: int, xValue: ChartXValue, yValue: ChartYValue) | Inserts the specified X and Y values into the chart series at the specified index. |
insert(index: int, xValue: ChartXValue, yValue: ChartYValue, bubbleSize: double) | Inserts the specified X value, Y value and bubble size into the chart series at the specified index. |
remove(index: int) | Removes the X value, Y value, and bubble size, if supported, from the chart series at the specified index. |
clear() | Removes all data values from the chart series. |
clearValues() | Removes all data values from the chart series with preserving the format of the data points and data labels. |
copyFormatFrom(dataPointIndex: int) | Copies default data point format from the data point with the specified index. |
getExplosion() → int | Specifies the amount the data point shall be moved from the center of the pie. |
setExplosion(value: int) | Sets the explosion value. |
getInvertIfNegative() → boolean | Specifies whether the parent element shall inverts its colors if the value is negative. |
setInvertIfNegative(value: boolean) | Sets the invert if negative value. |
getMarker() → ChartMarker | Specifies a data marker. |
getBubble3D() → boolean | Specifies whether the bubbles in Bubble chart should have a 3-D effect applied to them. |
setBubble3D(value: boolean) | Sets the bubble3 d value. |
getDataPoints() → ChartDataPointCollection | Returns a collection of formatting objects for all data points in this series. |
getName() → String | Gets or sets the name of the series, if name is not set explicitly it is generated using index. |
setName(value: String) | Sets the name value. |
getSmooth() → boolean | Allows to specify whether the line connecting the points on the chart shall be smoothed using Catmull-Rom splines. |
setSmooth(value: boolean) | Sets the smooth value. |
hasDataLabels() → boolean | Gets or sets a flag indicating whether data labels are displayed for the series. |
hasDataLabels(value: boolean) | Calls hasDataLabels(value) on this ChartSeries instance. |
getDataLabels() → ChartDataLabelCollection | Specifies the settings for the data labels for the entire series. |
getFormat() → ChartFormat | Provides access to fill and line formatting of the series. |
getLegendEntry() → ChartLegendEntry | Gets a legend entry for this chart series. |
getSeriesType() → int | Gets the type of this chart series. |
getXValues() → ChartXValueCollection | Gets a collection of X values for this chart series. |
getYValues() → ChartYValueCollection | Gets a collection of Y values for this chart series. |
getBubbleSizes() → BubbleSizeCollection | Gets a collection of bubble sizes for this chart series. |