ooodev.format.chart2.direct.axis.label package

Module contents

class ooodev.format.chart2.direct.axis.label.Order(order=ChartAxisArrangeOrderType.AUTO)[source]

Bases: StyleBase

Chart Axis Label visibility.

New in version 0.9.4.

__init__(order=ChartAxisArrangeOrderType.AUTO)[source]

Constructor

Parameters:

order (ChartAxisArrangeOrderType, optional) – Specifies the arrangement of the axes descriptions.

Return type:

None

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_order: ChartAxisArrangeOrderType

Gets or Sets if the Axis Label is visible.

Return type:

ChartAxisArrangeOrderType

class ooodev.format.chart2.direct.axis.label.Orientation(angle=None, mode=None, vertical=None)[source]

Bases: StyleBase

Chart Axis Text orientation.

New in version 0.9.4.

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

Constructor

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

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

  • vertical (bool, optional) – Specifies if the text is vertically stacked.

Return type:

None

Note

When vertical is True the angle is ignored.

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_mode: DirectionModeKind | None

Gets/Sets writing mode.

Return type:

DirectionModeKind | None

property prop_vertical: bool | None

Gets/Sets if the text is vertically stacked.

Return type:

bool | None

class ooodev.format.chart2.direct.axis.label.Show(visible=True)[source]

Bases: StyleBase

Chart Axis Label visibility.

New in version 0.9.4.

__init__(visible=True)[source]

Constructor

Parameters:

visible (bool, optional) – Specifies if the Axis label is visible. Defaults to True.

Return type:

None

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_visible: bool

Gets or Sets if the Axis Label is visible.

Return type:

bool

class ooodev.format.chart2.direct.axis.label.TextFlow(overlap=None, brk=None)[source]

Bases: StyleBase

Chart Axis Label Text Flow.

New in version 0.9.4.

__init__(overlap=None, brk=None)[source]

Constructor

Parameters:
  • overlap (bool, optional) – Specifies that the text in cells may overlap other cells. This can be especially useful if there is a lack of space. This option is not available with different title directions.

  • break (bool, optional) – Specifies if a text break is allowed.

  • brk (bool | None) –

Return type:

None

property prop_brk: bool | None

Gets or Sets if a text break is allowed.

Return type:

bool | None

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_overlap: bool | None

Gets or Sets if the text in cells may overlap other cells.

Return type:

bool | None