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_key | bool | 读写 | 如果数据标签图例键可见,则为 True。 |
show_value | bool | 读写 | True 显示该值。 |
show_category_name | bool | 读写 | True 显示类别名称。 |
show_series_name | bool | 读写 | True 显示系列名称。 |
show_percentage | bool | 读写 | True 显示百分比值。 |
show_bubble_size | bool | 读写 | True 显示气泡大小。 |
show_leader_lines | bool | 读写 | True 显示引导线。 |
position | LegendDataLabelPosition | 读写 | 数据标签的位置。 |
number_format | str | 读写 | 用于 DataLabels 的格式字符串。 |
is_number_format_linked_to_source | bool | 读写 | 数字格式是否与数据源关联。 |
separator | str | 读写 | 用于标签字段之间的分隔符。 |
format | 'IFormat' | 读取 | 标签区域的填充、线条和效果格式设置。 |
text_format | 'IChartTextFormat' | 读取 | 图表文本格式。 |
show_label_value_from_cell | bool | 读写 | True 显示来自工作簿单元格的标签文本。 |
as_i_chart_component | IChartComponent | 读取 | 返回 IChartComponent 接口。 |
chart | IChart | 读取 | 获取图表。 |
as_i_slide_component | ISlideComponent | 读取 | 获取 as i slide 组件。 |
slide | IBaseSlide | 读取 | 获取幻灯片。 |
as_i_presentation_component | IPresentationComponent | 读取 | 获取 as i 演示组件。 |
presentation | IPresentation | 读取 | 获取呈现。 |