DataLabelCollection

DataLabelCollection

概述

DataLabelCollection 是 Aspose.Slides FOSS 中用于 Python 的一个类。继承自:IDataLabelCollection。

表示图表系列的标签。

此类提供 2 个方法,用于在 Python 程序中处理 DataLabelCollection 对象。可用的方法包括:hide、index_of。在安装 Aspose.Slides FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:as_i_presentation_component、as_i_slide_component、chart、count、count_of_visible_data_labels、default_data_label_format,以及另外 5 项。

属性

名称类型访问描述
chart``读取返回父图表。
slide``读取获取幻灯片。
presentation``读取获取呈现。
parent_series'IChartSeries'读取返回父系列。
countint读取父系列中数据点的总数(每个可能都有标签)。
count_of_visible_data_labelsint读取将渲染文本的标签数量。
is_visiblebool读取如果在集合默认格式上启用了任何 show_* 标志,则为 true。
default_data_label_format'IDataLabelFormat'读取集合中所有数据标签的默认格式。
leader_lines_format'IChartLinesFormat'读取引导线的线/效果格式。
as_i_slide_componentISlideComponent读取允许获取基础 ISlideComponent 接口。
as_i_presentation_componentIPresentationComponent读取获取 as i 演示组件。

方法

签名描述
hide()隐藏所有标签 — 在 <c:dLbls> 上设置 <c:delete val=‘1’/>。
index_of(value: 'DataLabel') → int此集合中提供的 DataLabel 的索引。

另请参阅

 中文