Class ExcelChartExDataPointCollection
A collection of datapoints for a chart
Implements
System.Collections.Generic.IEnumerable<ExcelChartExDataPoint>
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.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 |
---|---|
System.Int32 |
Item[Int32]
Indexer
Declaration
public ExcelChartExDataPoint this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index |
Property Value
Type | Description |
---|---|
ExcelChartExDataPoint |
Methods
Add(Int32)
Adds a new datapoint to the collection
Declaration
public ExcelChartExDataPoint Add(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero based index |
Returns
Type | Description |
---|---|
ExcelChartExDataPoint | 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<ExcelChartExDataPoint> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ExcelChartExDataPoint> | 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