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