Skip to content

Class ExcelChartExDataPointCollection

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

A collection of datapoints for a chart

public class ExcelChartExDataPointCollection : XmlHelper, IEnumerable<ExcelChartExDataPoint>, IEnumerable

Inheritance

object ← XmlHelper ← ExcelChartExDataPointCollection

Implements

IEnumerable
IEnumerable<ExcelChartExDataPoint>

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 ExcelChartExDataPoint this[int index] { get; }

Property Value

ExcelChartExDataPoint

Methods

Add(int)

Adds a new datapoint to the collection

public ExcelChartExDataPoint Add(int index)

Parameters

index int

The zero based index

Returns

ExcelChartExDataPoint

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<ExcelChartExDataPoint> GetEnumerator()

Returns

IEnumerator<ExcelChartExDataPoint>

The enumerator