IDataLabel

Overview

IDataLabel is a class in Aspose.Slides FOSS for Python. Inherits from: ILayoutable, IOverridableText, IActualLayout, and 1 more.

Represents a series labels.

This class declares 3 methods for IDataLabel objects in Python programs. Available methods include: add_text_frame_for_overriding, get_actual_label_text, hide. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: actual_height, actual_width, actual_x, actual_y, as_i_chart_component, as_i_presentation_component, and 15 more.

Properties

NameTypeAccessDescription
is_visibleboolReadFalse means that data label is not visible (and so all Show*-flags (ShowValue, …) are false).
data_label_formatIDataLabelFormatReadReturns format of the data label.
value_from_cellIChartDataCellRead/WriteGets or sets workbook data cell.
xfloatRead/WriteGets or sets the x.
yfloatRead/WriteGets or sets the y.
widthfloatRead/WriteGets or sets the width.
heightfloatRead/WriteGets or sets the height.
rightfloatReadGets the right.
bottomfloatReadGets the bottom.
chartIChartReadGets the chart.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.
text_frame_for_overridingITextFrameReadGets the text frame for overriding.
text_formatIChartTextFormatReadGets the text format.
as_i_chart_componentIChartComponentReadAllows to get base IChartComponent interface.
as_i_slide_componentISlideComponentReadGets the as i slide component.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.
actual_xfloatReadSpecifies actual x location (left) of the chart element relative to the left top corner of the chart.
actual_yfloatReadSpecifies actual top of the chart element relative to the left top corner of the chart.
actual_widthfloatReadSpecifies actual width of the chart element.
actual_heightfloatReadSpecifies actual height of the chart element.

Methods

SignatureDescription
hide()Makes a chart data label invisible without removing it from the series
get_actual_label_text() → strReturns the actual label text.
add_text_frame_for_overriding(text) → ITextFrameCreates a text frame with the given text for overriding the label

See Also