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
| Name | Type | Access | Description |
|---|---|---|---|
default_data_label_format | IDataLabelFormat | Read | Returns default format of all data labels in the collection. |
leader_lines_format | IChartLinesFormat | Read | Represents data labels leader lines format. |
is_visible | bool | Read | False 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_labels | int | Read | Gets the number of visible data labels in the collection. |
count | int | Read | Gets the number of all data labels in the collection. |
parent_series | IChartSeries | Read | Returns parent chart series. |
chart | IChart | Read | Gets the chart. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
as_i_slide_component | ISlideComponent | Read | Allows to get base ISlideComponent interface. |
as_i_presentation_component | IPresentationComponent | Read | Gets the as i presentation component. |
Methods
| Signature | Description |
|---|---|
hide() | Calls hide on this IDataLabelCollection instance. |
index_of(value) → int | Returns the zero‑based index of the specified data label |
__getitem__(index: int) → IDataLabel | Calls getitem(index) on this IDataLabelCollection instance. |