DataLabelCollection
DataLabelCollection class
Represents a series labels.
getChart
| Name | Description |
|---|---|
| getChart () | Returns the parent chart. Read-only IChart. |
Returns: Chart
getCount
| Name | Description |
|---|---|
| getCount () | Gets the number of all data labels in the collection. Read-only int. |
Returns: int
getCountOfVisibleDataLabels
| Name | Description |
|---|---|
| getCountOfVisibleDataLabels () | Gets the number of visible data labels in the collection. Read-only int. |
Returns: int
getDefaultDataLabelFormat
| Name | Description |
|---|---|
| getDefaultDataLabelFormat () | Gets the default data label format. Read-only IDataLabelFormat. |
Returns: DataLabelFormat
getLeaderLinesFormat
| Name | Description |
|---|---|
| getLeaderLinesFormat () | Represents data labels leader lines format. Read-only IChartLinesFormat. |
Returns: ChartLinesFormat
getParentSeries
| Name | Description |
|---|---|
| getParentSeries () | Gets the parent series. Read-only IChartSeries. |
Returns: ChartSeries
getPresentation
| Name | Description |
|---|---|
| getPresentation () | Returns the parent presentation of a FillFormat. Read-only IPresentation. |
Returns: Presentation
getSlide
| Name | Description |
|---|---|
| getSlide () | Returns the parent slide of a FillFormat. Read-only BaseSlide. |
Returns: MasterHandoutSlide, BaseSlide, LayoutSlide, Slide, MasterSlide, NotesSlide, MasterNotesSlide
get_Item
| Name | Description |
|---|---|
| get_Item (int) | Gets the data label for the data point with the specified index. Alternate way to access data label is: - series.getDataPoints().get_Item(i).getLabel() - manage label properties. |
Returns: DataLabel
hide
| Name | Description |
|---|---|
| hide () | Make data label hidden by default by setting all Show*-flags (ShowValue, …) of the DefaultDataLabelFormat property to false state. IsVisible will be false after this. If data label is not visible by default (IsVisible is false) you can make data label “visible by default” with setting Show*-flags (ShowValue, …) of the DefaultDataLabelFormat property to true state. |
Returns: void
indexOf
| Name | Description |
|---|---|
| indexOf (DataLabel) | Returns an index of the specified DataLabel in the collection. |
Parameters:
| Name | Type | Description |
|---|---|---|
| value | DataLabel | DataLabel to find. |
Returns: int
isVisible
| Name | Description |
|---|---|
| isVisible () | False means that data label is not visible by default (and so all Show*-flags (ShowValue, …) of the DefaultDataLabelFormat property are false). Read-only boolean. If data label is visible by default you can make it hidden by default with Hide() method. But if data label is not visible by default (IsVisible is false) you can make data label “visible by default” with setting Show*-flags (ShowValue, …) of the DefaultDataLabelFormat property to true state. |
Returns: boolean
iterator
| Name | Description |
|---|---|
| iterator () | Returns an enumerator that iterates through the collection. |
Returns:
iteratorJava
| Name | Description |
|---|---|
| iteratorJava () | Returns a java iterator for the entire collection. |
Returns: