Class DataSeries
Represents a data series in a chart.
Inheritance
DataSeries
Inherited Members
Namespace: DRIT.Spreadsheet.Chart
Assembly: DRIT.Spreadsheet.dll
Syntax
public class DataSeries : ChartPart
Constructors
DataSeries(SheetChart)
Initializes a new instance of the DataSeries class.
Declaration
public DataSeries(SheetChart sheetChart)
Parameters
| Type | Name | Description |
|---|---|---|
| SheetChart | sheetChart | The parent chart. |
Properties
DataLabels
Gets the data labels for this series, if any have been added.
Declaration
public DataLabels DataLabels { get; }
Property Value
| Type | Description |
|---|---|
| DataLabels |
DataPoints
Gets the collection of data points in this series.
Declaration
public DataPointCollection DataPoints { get; }
Property Value
| Type | Description |
|---|---|
| DataPointCollection |
MarkerOptions
Gets the marker options for this data series.
Declaration
public MarkerOptions MarkerOptions { get; }
Property Value
| Type | Description |
|---|---|
| MarkerOptions |
SeriesCategories
Specifies the category values formula for the data series.
Declaration
public string SeriesCategories { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SeriesName
Specifies the name of the data series.
Declaration
public string SeriesName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SeriesValues
Specifies the values formula for the data series.
Declaration
public string SeriesValues { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValuesFormatCode
Specifies the format code for the series values.
Declaration
public string ValuesFormatCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
AddDataLabels()
Adds data labels to this data series.
Declaration
public void AddDataLabels()