IDataLabelCollection

IDataLabelCollection

Overview

IDataLabelCollection is a class in Aspose.Slides FOSS for Python. Inherits from: IChartComponent, ABC.

Represents a series labels.

This class declares 3 methods for IDataLabelCollection objects in Python programs. Available methods include: __getitem__, hide, index_of. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: as_i_presentation_component, as_i_slide_component, chart, count, count_of_visible_data_labels, default_data_label_format, and 5 more.

Properties

NameTypeAccessDescription
default_data_label_formatIDataLabelFormatReadReturns default format of all data labels in the collection.
leader_lines_formatIChartLinesFormatReadRepresents data labels leader lines format.
is_visibleboolReadFalse means that data label is not visible by default (and so all Show*-flags (ShowValue, …) of the DefaultDataLabelFormat property are false).
count_of_visible_data_labelsintReadGets the number of visible data labels in the collection.
countintReadGets the number of all data labels in the collection.
parent_seriesIChartSeriesReadReturns parent chart series.
chartIChartReadGets the chart.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.
as_i_slide_componentISlideComponentReadAllows to get base ISlideComponent interface.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.

Methods

SignatureDescription
hide()Calls hide on this IDataLabelCollection instance.
index_of(value) → intReturns the zero‑based index of the specified data label
__getitem__(index: int) → IDataLabelCalls getitem(index) on this IDataLabelCollection instance.

See Also