Class ExcelChartDataPointCollection
A collection of datapoints
Inherited Members
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
Syntax
public class ExcelChartDataPointCollection : XmlHelper, IEnumerable<ExcelChartDataPoint>, IEnumerable
Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Indexer
Declaration
public ExcelChartDataPoint this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index |
Property Value
| Type | Description |
|---|---|
| ExcelChartDataPoint |
Methods
Add(int)
Adds a new datapoint to the collection
Declaration
public ExcelChartDataPoint Add(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index |
Returns
| Type | Description |
|---|---|
| ExcelChartDataPoint | 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<ExcelChartDataPoint> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelChartDataPoint> | The enumerator |