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

NameTypeAccessDescription
explosionintRead/WriteSpecifies the amount the data point shall be moved from the center of the pie.
invertIfNegativebooleanRead/WriteSpecifies whether the parent element shall inverts its colors if the value is negative.
markerChartMarkerReadSpecifies a data marker.
bubble3DbooleanRead/WriteSpecifies whether the bubbles in Bubble chart should have a 3-D effect applied to them.
dataPointsChartDataPointCollectionReadReturns a collection of formatting objects for all data points in this series.
nameStringRead/WriteGets or sets the name of the series, if name is not set explicitly it is generated using index.
smoothbooleanRead/WriteAllows to specify whether the line connecting the points on the chart shall be smoothed using Catmull-Rom splines.
dataLabelsChartDataLabelCollectionReadSpecifies the settings for the data labels for the entire series.
formatChartFormatReadProvides access to fill and line formatting of the series.
legendEntryChartLegendEntryReadGets a legend entry for this chart series.
seriesTypeintReadGets the type of this chart series.
xValuesChartXValueCollectionReadGets a collection of X values for this chart series.
yValuesChartYValueCollectionReadGets a collection of Y values for this chart series.
bubbleSizesBubbleSizeCollectionReadGets a collection of bubble sizes for this chart series.

Methods

SignatureDescription
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() → intSpecifies the amount the data point shall be moved from the center of the pie.
setExplosion(value: int)Sets the explosion value.
getInvertIfNegative() → booleanSpecifies whether the parent element shall inverts its colors if the value is negative.
setInvertIfNegative(value: boolean)Sets the invert if negative value.
getMarker() → ChartMarkerSpecifies a data marker.
getBubble3D() → booleanSpecifies whether the bubbles in Bubble chart should have a 3-D effect applied to them.
setBubble3D(value: boolean)Sets the bubble3 d value.
getDataPoints() → ChartDataPointCollectionReturns a collection of formatting objects for all data points in this series.
getName() → StringGets 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() → booleanAllows 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() → booleanGets or sets a flag indicating whether data labels are displayed for the series.
hasDataLabels(value: boolean)Calls hasDataLabels(value) on this ChartSeries instance.
getDataLabels() → ChartDataLabelCollectionSpecifies the settings for the data labels for the entire series.
getFormat() → ChartFormatProvides access to fill and line formatting of the series.
getLegendEntry() → ChartLegendEntryGets a legend entry for this chart series.
getSeriesType() → intGets the type of this chart series.
getXValues() → ChartXValueCollectionGets a collection of X values for this chart series.
getYValues() → ChartYValueCollectionGets a collection of Y values for this chart series.
getBubbleSizes() → BubbleSizeCollectionGets a collection of bubble sizes for this chart series.

See Also