public class DataLabelCollection extends java.lang.Object implements IDataLabelCollection
Represents a series labels.
Modifier and Type | Method and Description |
---|---|
IDataLabel |
get_Item(int index)
Gets the data label for the data point with the specified index.
|
IChart |
getChart()
Returns the parent chart.
|
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()
Gets the default data label format.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
IChartSeries |
getParentSeries()
Gets the parent series.
|
IPresentation |
getPresentation()
Returns the parent presentation of a FillFormat.
|
IBaseSlide |
getSlide()
Returns the parent slide of a FillFormat.
|
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).
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IDataLabel> |
iterator()
Returns an enumerator that iterates through the collection.
|
public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
public final IChart getChart()
Returns the parent chart.
Read-only IChart
.
getChart
in interface IChartComponent
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IDataLabel> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IDataLabel>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IDataLabel>
iterator
in interface java.lang.Iterable<IDataLabel>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public final 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
.
isVisible
in interface IDataLabelCollection
public final 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.
hide
in interface IDataLabelCollection
public final int getCountOfVisibleDataLabels()
Gets the number of visible data labels in the collection.
Read-only int
.
getCountOfVisibleDataLabels
in interface IDataLabelCollection
public final int getCount()
Gets the number of all data labels in the collection.
Read-only int
.
getCount
in interface IDataLabelCollection
public final IDataLabelFormat getDefaultDataLabelFormat()
Gets the default data label format.
Read-only IDataLabelFormat
.
getDefaultDataLabelFormat
in interface IDataLabelCollection
public final IChartSeries getParentSeries()
Gets the parent series.
Read-only IChartSeries
.
getParentSeries
in interface IDataLabelCollection
public final int indexOf(IDataLabel value)
Returns an index of the specified DataLabel in the collection.
indexOf
in interface IDataLabelCollection
value
- DataLabel to find.public final IDataLabel get_Item(int index)
Gets the data label for the data point with the specified index.
get_Item
in interface IDataLabelCollection
public final IBaseSlide getSlide()
Returns the parent slide of a FillFormat.
Read-only BaseSlide
.
getSlide
in interface ISlideComponent
public final IPresentation getPresentation()
Returns the parent presentation of a FillFormat.
Read-only IPresentation
.
getPresentation
in interface IPresentationComponent