DataLabel

Vue de l’ensemble

‘DataLabel’ est une classe dans Aspose.Slides FOSS pour Python.Hérit de: ‘IData Label’.

Il représente une étiquette de point de données série.

Cette classe fournit 3 méthodes pour travailler avec les objets DataLabel dans les programmes Python. Les méthodologies disponibles comprennent: add_text_frame_for_overriding, get_actual_label_texte et hide. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspose.Slides FOSS pour le package Pyton. Propriétés : actual-height , actual_width ; real_x; actuel_y : as_i_chart_component` .

Propriétés

NameTypeAccessDescription
chart``ReadGets the chart.
slide``ReadGets the slide.
presentation``ReadGets the presentation.
is_visibleboolReadTrue when any show_* flag is set on this label or on the series default.
data_label_format'IDataLabelFormat'ReadFormat of this specific label.
text_format'IChartTextFormat'ReadChart text format.
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.
text_frame_for_overriding'ITextFrame'ReadOverriding text frame for this label, or None.
value_from_cell'IChartDataCell'Read/WriteWorkbook cell whose value is used as label text.
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.

méthodes

SignatureDescription
add_text_frame_for_overriding(text: str)'ITextFrame'Create or replace the overriding text frame with initial text.
get_actual_label_text()strReturn the explicit override text when present, else empty string.
hide()Hide this label by setting <c:delete val=‘1’/>.

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français