DataLabelFormat

DataLabelFormat

概述

DataLabelFormat 是 Aspose.Slides FOSS 中用于 Python 的类。继承自:IDataLabelFormat。

表示 DataLabel 的格式化选项。

属性:as_i_chart_component、as_i_presentation_component、as_i_slide_component、chart、format、is_number_format_linked_to_source,以及另外 14 项。

属性

名称类型访问描述
show_legend_keybool读写如果数据标签图例键可见,则为 True。
show_valuebool读写True 显示该值。
show_category_namebool读写True 显示类别名称。
show_series_namebool读写True 显示系列名称。
show_percentagebool读写True 显示百分比值。
show_bubble_sizebool读写True 显示气泡大小。
show_leader_linesbool读写True 显示引导线。
positionLegendDataLabelPosition读写数据标签的位置。
number_formatstr读写用于 DataLabels 的格式字符串。
is_number_format_linked_to_sourcebool读写数字格式是否与数据源关联。
separatorstr读写用于标签字段之间的分隔符。
format'IFormat'读取标签区域的填充、线条和效果格式设置。
text_format'IChartTextFormat'读取图表文本格式。
show_label_value_from_cellbool读写True 显示来自工作簿单元格的标签文本。
as_i_chart_componentIChartComponent读取返回 IChartComponent 接口。
chartIChart读取获取图表。
as_i_slide_componentISlideComponent读取获取 as i slide 组件。
slideIBaseSlide读取获取幻灯片。
as_i_presentation_componentIPresentationComponent读取获取 as i 演示组件。
presentationIPresentation读取获取呈现。

另请参阅

 中文