ooodev.format.inner.direct.chart2.legend.position.position module

class ooodev.format.inner.direct.chart2.legend.position.position.Position(*, pos=None, mode=None, no_overlap=None)[source]

Bases: StyleMulti

Chart2 legend position.

__init__(*, pos=None, mode=None, no_overlap=None)[source]

Constructor.

Parameters:
  • pos (LegendPosition | None, optional) – Specifies the position of the legend.

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

  • no_overlap (bool | None, optional) – Show the legend without overlapping the chart.

Return type:

None

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_mode: DirectionModeKind | None

Gets or set the writing direction

Return type:

DirectionModeKind | None

property prop_no_overlap: bool | None

Gets or set the position of the legend

Return type:

bool | None

property prop_pos: LegendPosition | None

Gets or set the position of the legend

Return type:

LegendPosition | None