ChartSeries

Overview

ChartSeries is a class in Aspose.Words FOSS for .NET. Inherits from: IChartDataPoint, IDmlExtensionListSource.

Represents chart series properties.

This class provides 10 methods for working with ChartSeries objects in .NET programs. Available methods include: Add, Clear, ClearValues, CopyFormatFrom, Insert, Remove. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: Bubble3D, BubbleSizes, DataLabels, DataPoints, Explosion, Format, and 9 more.

Properties

NameTypeAccessDescription
ExplosionintRead/WriteSpecifies the amount the data point shall be moved from the center of the pie.
InvertIfNegativeboolRead/WriteSpecifies whether the parent element shall inverts its colors if the value is negative.
MarkerChartMarkerReadSpecifies a data marker.
Bubble3DboolRead/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.
SmoothboolRead/WriteAllows to specify whether the line connecting the points on the chart shall be smoothed using Catmull-Rom splines.
HasDataLabelsboolRead/WriteGets or sets a flag indicating whether data labels are displayed for the series.
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.
SeriesTypeChartSeriesTypeReadGets 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.

See Also