DataLabel

Overview

DataLabel 是Python的Aspose.Slides FOSS中的一个类. 继承人: IDataLabel.

表示一个系列数据点标签.

这个类提供了在Python程序中使用DataLabel 对象的3种方法. 有的方法包括: add_text_frame_for_overriding, get_actual_label_text, hide. 在安装Python包的Aspose.Slides FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: actual_height, actual_width, actual_x, actual_y, as_i_chart_component, as_i_presentation_component,另外15个.

Properties

NameTypeAccessDescription
chart``Read得到了图表.
slide``Read得到了滑梯.
presentation``Read得到了演示.
is_visibleboolRead当任何 show_* 标志设置在此标签或系列默认时,则是真.
data_label_format'IDataLabelFormat'Read标签的格式.
text_format'IChartTextFormat'Read图表文本格式.
xfloat阅读/写作得到或设置x.
yfloat阅读/写作得到或设置y.
widthfloat阅读/写作得到或设置宽度.
heightfloat阅读/写作得到或设置高度.
rightfloatRead得到了正确的.
bottomfloatRead得到了底部.
text_frame_for_overriding'ITextFrame'Read覆盖该标签的文本框,或没有.
value_from_cell'IChartDataCell'阅读/写作值作为标签文本的工作簿单元格.
as_i_chart_componentIChartComponentRead允许获得基本的 IChartComponent 接口.
as_i_slide_componentISlideComponentRead得到了作为i滑动组件.
as_i_presentation_componentIPresentationComponentRead得到了作为i的表达组件.
actual_xfloatRead指定图表元素的实际x位置 (左) 与图片上角左右.
actual_yfloatRead指定图表元素的实际顶部与图片上左角相对.
actual_widthfloatRead指定图表元素的实际宽度.
actual_heightfloatRead指定图表元素的实际高度.

Methods

SignatureDescription
add_text_frame_for_overriding(text: str)'ITextFrame'创建或用初始文本替换重点的文字框.
get_actual_label_text()str如果存在,则返回明确的覆盖文本.
hide()隐藏这个标签,设置 <c:delete val=‘1’/>.

See Also

 中文