ChartDataLabelCollection
Overview
ChartDataLabelCollection is a class in Aspose.Words FOSS for .NET.
Inherits from: IEnumerable<ChartDataLabel>, INumberFormatProvider, IChartFormatSource.
Represents a collection of ChartDataLabel.
This class provides 2 methods for working with ChartDataLabelCollection objects in .NET programs.
Available methods include: ClearFormat, GetEnumerator.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: Count, Font, Format, NumberFormat, Orientation, Position, and 10 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Returns the number of ChartDataLabel in this collection. |
ShowCategoryName | bool | Read/Write | Allows to specify whether category name is to be displayed for the data labels of the entire series. |
ShowBubbleSize | bool | Read/Write | Allows to specify whether bubble size is to be displayed for the data labels of the entire series. |
ShowLegendKey | bool | Read/Write | Allows to specify whether legend key is to be displayed for the data labels of the entire series. |
ShowPercentage | bool | Read/Write | Allows to specify whether percentage value is to be displayed for the data labels of the entire series. |
ShowSeriesName | bool | Read/Write | Returns or sets a Boolean to indicate the series name display behavior for the data labels of the entire series. |
ShowValue | bool | Read/Write | Allows to specify whether values are to be displayed in the data labels of the entire series. |
ShowLeaderLines | bool | Read/Write | Allows to specify whether data label leader lines need be shown for the data labels of the entire series. |
ShowDataLabelsRange | bool | Read/Write | Allows to specify whether values from data labels range to be displayed in the data labels of the entire series. |
Separator | string | Read/Write | Gets or sets string separator used for the data labels of the entire series. |
Orientation | ShapeTextOrientation | Read/Write | Gets or sets the text orientation of the data labels of the entire series. |
Rotation | int | Read/Write | Gets or sets the rotation of the data labels of the entire series in degrees. |
NumberFormat | ChartNumberFormat | Read | Gets an ChartNumberFormat instance allowing to set number format for the data labels of the entire series. |
Font | Font | Read | Provides access to the font formatting of the data labels of the entire series. |
Format | ChartFormat | Read | Provides access to fill and line formatting of the data labels. |
Position | ChartDataLabelPosition | Read/Write | Gets or sets the position of the data labels. |
Methods
| Signature | Description |
|---|---|
GetEnumerator() | Returns an enumerator object. |
ClearFormat() | Clears format of all ChartDataLabel in this collection. |