ChartDataLabelCollection
Overview
ChartDataLabelCollection is a class in Aspose.Words FOSS for Java.
Inherits from: Iterable<ChartDataLabel>, INumberFormatProvider, IChartFormatSource.
Represents a collection of ChartDataLabel.
Edition status of its 47 listed members (a property and its accessor methods are listed separately, overloads once): 47 not yet exercised by a verified example.
This class declares 31 methods for ChartDataLabelCollection objects in Java programs.
Available methods include: clearFormat, get, getCount, getFont, getFormat, getNumberFormat, getOrientation, getPosition, getRotation, getSeparator, getShowBubbleSize, getShowCategoryName, and 19 additional methods.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java 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 | boolean | Read/Write | Allows to specify whether category name is to be displayed for the data labels of the entire series. |
showBubbleSize | boolean | Read/Write | Allows to specify whether bubble size is to be displayed for the data labels of the entire series. |
showLegendKey | boolean | Read/Write | Allows to specify whether legend key is to be displayed for the data labels of the entire series. |
showPercentage | boolean | Read/Write | Allows to specify whether percentage value is to be displayed for the data labels of the entire series. |
showSeriesName | boolean | Read/Write | Returns or sets a Boolean to indicate the series name display behavior for the data labels of the entire series. |
showValue | boolean | Read/Write | Allows to specify whether values are to be displayed in the data labels of the entire series. |
showLeaderLines | boolean | Read/Write | Allows to specify whether data label leader lines need be shown for the data labels of the entire series. |
showDataLabelsRange | boolean | 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 | int | 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 | int | Read/Write | Gets or sets the position of the data labels. |
Methods
| Signature | Description |
|---|---|
get(index: int) → ChartDataLabel | Returns ChartDataLabel for the specified index. |
iterator() → Iterator<ChartDataLabel> | Returns an enumerator object. |
clearFormat() | Clears format of all ChartDataLabel in this collection. |
getCount() → int | Returns the number of ChartDataLabel in this collection. |
getShowCategoryName() → boolean | Allows to specify whether category name is to be displayed for the data labels of the entire series. |
setShowCategoryName(value: boolean) | Sets the show category name value. |
getShowBubbleSize() → boolean | Allows to specify whether bubble size is to be displayed for the data labels of the entire series. |
setShowBubbleSize(value: boolean) | Sets the show bubble size value. |
getShowLegendKey() → boolean | Allows to specify whether legend key is to be displayed for the data labels of the entire series. |
setShowLegendKey(value: boolean) | Sets the show legend key value. |
getShowPercentage() → boolean | Allows to specify whether percentage value is to be displayed for the data labels of the entire series. |
setShowPercentage(value: boolean) | Sets the show percentage value. |
getShowSeriesName() → boolean | Returns or sets a Boolean to indicate the series name display behavior for the data labels of the entire series. |
setShowSeriesName(value: boolean) | Sets the show series name value. |
getShowValue() → boolean | Allows to specify whether values are to be displayed in the data labels of the entire series. |
setShowValue(value: boolean) | Sets the show value value. |
getShowLeaderLines() → boolean | Allows to specify whether data label leader lines need be shown for the data labels of the entire series. |
setShowLeaderLines(value: boolean) | Sets the show leader lines value. |
getShowDataLabelsRange() → boolean | Allows to specify whether values from data labels range to be displayed in the data labels of the entire series. |
setShowDataLabelsRange(value: boolean) | Sets the show data labels range value. |
getSeparator() → String | Gets or sets string separator used for the data labels of the entire series. |
setSeparator(value: String) | Sets the separator value. |
getOrientation() → int | Gets or sets the text orientation of the data labels of the entire series. |
setOrientation(value: int) | Sets the orientation value. |
getRotation() → int | Gets or sets the rotation of the data labels of the entire series in degrees. |
setRotation(value: int) | Sets the rotation value. |
getNumberFormat() → ChartNumberFormat | Gets an ChartNumberFormat instance allowing to set number format for the data labels of the entire series. |
getFont() → Font | Provides access to the font formatting of the data labels of the entire series. |
getFormat() → ChartFormat | Provides access to fill and line formatting of the data labels. |
getPosition() → int | Gets or sets the position of the data labels. |
setPosition(value: int) | Sets the position value. |