Class ExcelChartDataPointCollection
A collection of datapoints
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 |
|---|---|
| Int32 |
Item[Int32]
Indexer
Declaration
public ExcelChartDataPoint this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The index |
Property Value
| Type | Description |
|---|---|
| ExcelChartDataPoint |
Methods
Add(Int32)
Adds a new datapoint to the collection
Declaration
public ExcelChartDataPoint Add(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The index |
Returns
| Type | Description |
|---|---|
| ExcelChartDataPoint | The datapoint |
ContainsKey(Int32)
Checkes if the index exists in the collection
Declaration
public bool ContainsKey(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The index |
Returns
| Type | Description |
|---|---|
| Boolean | true if exists |
GetEnumerator()
Gets the enumerator for the collection
Declaration
public IEnumerator<ExcelChartDataPoint> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelChartDataPoint> | The enumerator |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable