Class ExcelChartExDataPointCollection
A collection of datapoints for a chart
Inherited Members
Namespace: OfficeOpenXml.Drawing.Chart.ChartEx
Assembly: EPPlus.dll
Syntax
public class ExcelChartExDataPointCollection : XmlHelper, IEnumerable<ExcelChartExDataPoint>, IEnumerable
Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Indexer
Declaration
public ExcelChartExDataPoint this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index |
Property Value
| Type | Description |
|---|---|
| ExcelChartExDataPoint |
Methods
Add(int)
Adds a new datapoint to the collection
Declaration
public ExcelChartExDataPoint Add(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero based index |
Returns
| Type | Description |
|---|---|
| ExcelChartExDataPoint | The datapoint |
ContainsKey(int)
Checkes if the index exists in the collection
Declaration
public bool ContainsKey(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index |
Returns
| Type | Description |
|---|---|
| bool | true if exists |
GetEnumerator()
Gets the enumerator for the collection
Declaration
public IEnumerator<ExcelChartExDataPoint> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelChartExDataPoint> | The enumerator |