com.aspose.slides
Interface IDataLabelCollection

All Superinterfaces:
IChartComponent, com.aspose.ms.System.Collections.IEnumerable<IDataLabel>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IDataLabel>, IPresentationComponent, ISlideComponent, java.lang.Iterable<IDataLabel>
All Known Implementing Classes:
DataLabelCollection

public interface IDataLabelCollection
extends com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IDataLabel>, IChartComponent

Represents a series labels.


Method Summary
 IDataLabel get_Item(int index)
           Gets the data label for the data point with the specified index.
 int getCount()
           Gets the number of all data labels in the collection.
 int getCountOfVisibleDataLabels()
           Gets the number of visible data labels in the collection.
 IDataLabelFormat getDefaultDataLabelFormat()
           Returns default format of all data labels in the collection.
 IChartSeries getParentSeries()
           Returns parent chart series.
 void hide()
           Make data label hidden by default by setting all Show*-flags (ShowValue, ...) of the DefaultDataLabelFormat property to false state.
 int indexOf(IDataLabel value)
           Returns an index of the specified DataLabel in the collection.
 boolean isVisible()
           False means that data label is not visible by default (and so all Show*-flags (ShowValue, ...) of the DefaultDataLabelFormat property are false).
 
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable
iterator
 
Methods inherited from interface com.aspose.slides.IChartComponent
getChart
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 

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: - SeriesEx.DataPoints[i].Label - 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.


getParentSeries

IChartSeries getParentSeries()

Returns parent chart series. Read-only IChartSeries.


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.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.