Class ExcelChartDataLabelCollection
A collection of individually formatted datalabels
Inherited Members
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
Syntax
public class ExcelChartDataLabelCollection : XmlHelper, IEnumerable<ExcelChartDataLabelItem>, IEnumerable
Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Indexer for the collection
Declaration
public ExcelChartDataLabelItem this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index |
Property Value
| Type | Description |
|---|---|
| ExcelChartDataLabelItem |
Methods
Add(int)
Adds a new chart label to the collection
Declaration
public ExcelChartDataLabelItem Add(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index |
Returns
| Type | Description |
|---|---|
| ExcelChartDataLabelItem |
GetEnumerator()
Gets the enumerator for the collection
Declaration
public IEnumerator<ExcelChartDataLabelItem> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelChartDataLabelItem> | The enumerator |