ooodev.format.inner.direct.chart2.series.data_labels.data_labels.orientation module

class ooodev.format.inner.direct.chart2.series.data_labels.data_labels.orientation.Orientation(angle=None, mode=None, leaders=None)[source]

Bases: StyleBase

Series data points Text orientation.

New in version 0.9.4.

__init__(angle=None, mode=None, leaders=None)[source]

Constructor

Parameters:
  • angle (int, Angle, optional) – Rotation in degrees of the text.

  • mode (DirectionModeKind, optional) – Specifies the writing direction.

  • leaders (bool, optional) – Leader Lines. Connect displaced data points to data points.

Return type:

None

Note

When setting a data point leaders is ignored. To set leaders set it on the data series.

on_property_set_error(source, event_args)[source]

Triggers for each property that fails to set.

Parameters:
  • source (Any) – Event Source.

  • event_args (KeyValArgs) – Event Args

Return type:

None

property prop_angle: Angle | None

Gets/Sets the rotation of the text.

Return type:

Angle | None

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_leaders: bool | None

Gets/Sets whether to show leaders.

Return type:

bool | None

property prop_mode: DirectionModeKind | None

Gets/Sets writing mode.

Return type:

DirectionModeKind | None