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
| Name | Type | Access | Description |
|---|---|---|---|
Explosion | int | Read/Write | Specifies the amount the data point shall be moved from the center of the pie. |
InvertIfNegative | bool | Read/Write | Specifies whether the parent element shall inverts its colors if the value is negative. |
Marker | ChartMarker | Read | Specifies a data marker. |
Bubble3D | bool | 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 | bool | Read/Write | Allows to specify whether the line connecting the points on the chart shall be smoothed using Catmull-Rom splines. |
HasDataLabels | bool | Read/Write | Gets or sets a flag indicating whether data labels are displayed for the series. |
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 | ChartSeriesType | 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. |