com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IDataLabelCollection

    • Method Detail

      • get_Item

        IDataLabel get_Item(int index)

        Gets the data label for the data point with the specified index.


        Alternate way to access data label is: - getSeries().getDataPoints().get_Item(i).getLabel() - manage label properties.
      • getDefaultDataLabelFormat

        IDataLabelFormat getDefaultDataLabelFormat()

        Returns default format of all data labels in the collection. Read-only IDataLabelFormat.

      • isVisible

        boolean 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.
      • hide

        void 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.
      • getCountOfVisibleDataLabels

        int getCountOfVisibleDataLabels()

        Gets the number of visible data labels in the collection. Read-only int.

      • getCount

        int getCount()

        Gets the number of all data labels in the collection. Read-only int.

      • indexOf

        int indexOf(IDataLabel value)

        Returns an index of the specified DataLabel in the collection.

        Parameters:
        value - DataLabel to find.
        Returns:
        Index of a DataLabel or -1 if DataLabel not from this collection.