Class ExcelChartSeries
Collection class for chart series
Implements
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core.Data.OfficeOpenXml.Drawing.Chart
Assembly: Experior.Core.dll
Syntax
public sealed class ExcelChartSeries : XmlHelper, IEnumerable
Properties
Chart
A reference to the chart object
Declaration
public ExcelChart Chart { get; }
Property Value
Type | Description |
---|---|
ExcelChart |
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Returns the serie at the specified position.
Declaration
public ExcelChartSerie this[int PositionID] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | PositionID | The position of the series. |
Property Value
Type | Description |
---|---|
ExcelChartSerie |
Methods
Add(ExcelRangeBase, ExcelRangeBase)
Add a new serie to the chart. Do not apply to pivotcharts.
Declaration
public ExcelChartSerie Add(ExcelRangeBase Serie, ExcelRangeBase XSerie)
Parameters
Type | Name | Description |
---|---|---|
ExcelRangeBase | Serie | The Y-Axis range |
ExcelRangeBase | XSerie | The X-Axis range |
Returns
Type | Description |
---|---|
ExcelChartSerie |
Add(String, String)
Add a new serie to the chart.Do not apply to pivotcharts.
Declaration
public ExcelChartSerie Add(string SerieAddress, string XSerieAddress)
Parameters
Type | Name | Description |
---|---|---|
System.String | SerieAddress | The Y-Axis range |
System.String | XSerieAddress | The X-Axis range |
Returns
Type | Description |
---|---|
ExcelChartSerie |
Delete(Int32)
Delete the chart at the specific position
Declaration
public void Delete(int PositionID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | PositionID | Zero based |
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.IEnumerable