DataLabelCollection

DataLabelCollection class

Represents a series labels.

getChart

NameDescription
getChart ()Returns the parent chart. Read-only IChart.

Returns: Chart


getCount

NameDescription
getCount ()Gets the number of all data labels in the collection. Read-only int.

Returns: int


getCountOfVisibleDataLabels

NameDescription
getCountOfVisibleDataLabels ()Gets the number of visible data labels in the collection. Read-only int.

Returns: int


getDefaultDataLabelFormat

NameDescription
getDefaultDataLabelFormat ()Gets the default data label format. Read-only IDataLabelFormat.

Returns: DataLabelFormat


getLeaderLinesFormat

NameDescription
getLeaderLinesFormat ()Represents data labels leader lines format. Read-only IChartLinesFormat.

Returns: ChartLinesFormat


getParentSeries

NameDescription
getParentSeries ()Gets the parent series. Read-only IChartSeries.

Returns: ChartSeries


getPresentation

NameDescription
getPresentation ()Returns the parent presentation of a FillFormat. Read-only IPresentation.

Returns: Presentation


getSlide

NameDescription
getSlide ()Returns the parent slide of a FillFormat. Read-only BaseSlide.

Returns: MasterHandoutSlide, BaseSlide, LayoutSlide, Slide, MasterSlide, NotesSlide, MasterNotesSlide


get_Item

NameDescription
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

NameDescription
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

NameDescription
indexOf (DataLabel)Returns an index of the specified DataLabel in the collection.

Parameters:

NameTypeDescription
valueDataLabelDataLabel to find.

Returns: int


isVisible

NameDescription
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

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns: