Skip to content

Class ExcelChartDataPointCollection

Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll

A collection of datapoints

public class ExcelChartDataPointCollection : XmlHelper, IEnumerable<ExcelChartDataPoint>, IEnumerable

Inheritance

object ← XmlHelper ← ExcelChartDataPointCollection

Implements

IEnumerable
IEnumerable<ExcelChartDataPoint>

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

Count

Number of items in the collection

public int Count { get; }

Property Value

int

this[int]

Indexer

public ExcelChartDataPoint this[int index] { get; }

Property Value

ExcelChartDataPoint

Methods

Add(int)

Adds a new datapoint to the collection

public ExcelChartDataPoint Add(int index)

Parameters

index int

The index

Returns

ExcelChartDataPoint

The datapoint

ContainsKey(int)

Checkes if the index exists in the collection

public bool ContainsKey(int index)

Parameters

index int

The index

Returns

bool

true if exists

GetEnumerator()

Gets the enumerator for the collection

public IEnumerator<ExcelChartDataPoint> GetEnumerator()

Returns

IEnumerator<ExcelChartDataPoint>

The enumerator