DataLabelCollection

DataLabelCollection

Overview

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

Represents the labels of a chart series.

Properties

NameTypeAccessDescription
chart``ReadReturns the parent chart.
slide``ReadReturns the slide containing the parent chart
presentation``ReadReturns the presentation that contains the chart
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.

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.