Skip to content

Class ExcelChartDataLabelCollection

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

A collection of individually formatted datalabels

public class ExcelChartDataLabelCollection : XmlHelper, IEnumerable<ExcelChartDataLabelItem>, IEnumerable

Inheritance

object ← XmlHelper ← ExcelChartDataLabelCollection

Implements

IEnumerable
IEnumerable<ExcelChartDataLabelItem>

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 for the collection

public ExcelChartDataLabelItem this[int index] { get; }

Property Value

ExcelChartDataLabelItem

Methods

Add(int)

Adds a new chart label to the collection

public ExcelChartDataLabelItem Add(int index)

Parameters

index int

The index

Returns

ExcelChartDataLabelItem

GetEnumerator()

Gets the enumerator for the collection

public IEnumerator<ExcelChartDataLabelItem> GetEnumerator()

Returns

IEnumerator<ExcelChartDataLabelItem>

The enumerator