Class ExcelChartExDataLabelCollection
A collection of individual data labels
Inheritance
ExcelChartExDataLabelCollection
Inherited Members
Namespace: OfficeOpenXml.Drawing.Chart.ChartEx
Assembly: EPPlus.dll
Syntax
public class ExcelChartExDataLabelCollection : ExcelChartExDataLabel, IEnumerable<ExcelChartExDataLabelItem>, IEnumerable
Properties
this[int]
Returns tje data label at the specific position.
Declaration
public ExcelChartExDataLabel this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of the datalabel. 0-base. |
Property Value
| Type | Description |
|---|---|
| ExcelChartExDataLabel | Returns null if the data label does not exist in the collection |
Methods
Add(int)
Adds an individual data label for customization.
Declaration
public ExcelChartExDataLabelItem Add(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero based index |
Returns
| Type | Description |
|---|---|
| ExcelChartExDataLabelItem |
GetEnumerator()
Get the enumerator
Declaration
public IEnumerator<ExcelChartExDataLabelItem> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelChartExDataLabelItem> |