DataLabelCollection

DataLabelCollection

Overview

DataLabelCollection is a class in Aspose.Slides FOSS for Python. Inherits from: IDataLabelCollection.

Represents the labels of a chart series.

This class provides 2 methods for working with DataLabelCollection objects in Python programs. Available methods include: hide, index_of. All 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
chart``ReadReturns the parent chart.
slide``ReadGets the slide.
presentation``ReadGets the presentation.
parent_series'IChartSeries'ReadReturns the parent series.
countintReadTotal number of data points in the parent series (each may have a label).
count_of_visible_data_labelsintReadNumber of labels that would render text.
is_visibleboolReadTrue if any show_* flag is enabled on the collection default format.
default_data_label_format'IDataLabelFormat'ReadDefault format for all data labels in the collection.
leader_lines_format'IChartLinesFormat'ReadLeader lines line/effect format.
as_i_slide_componentISlideComponentReadAllows to get base ISlideComponent interface.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.

Methods

SignatureDescription
hide()Hide all labels — sets <c:delete val=‘1’/> on <c:dLbls>.
index_of(value: 'DataLabel')intIndex of the provided DataLabel in this collection.

See Also