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

class ooodev.format.inner.direct.chart2.series.data_labels.data_labels.attrib_options.AttribOptions(placement=None, separator=None)[source]

Bases: StyleBase

Chart Data Series, Data Labels Text Attribute Options.

__init__(placement=None, separator=None)[source]

Constructor

Parameters:
  • placement (PlacementKind, optional) – Specifies the placement of data labels relative to the objects.

  • separator (SeparatorKind, optional) – Specifies the separator between multiple text strings for the same object.

Return type:

None

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_placement: PlacementKind | None

Gets or sets the placement kind

Return type:

PlacementKind | None

property prop_separator: SeparatorKind | None

Gets or sets the separator kind

Return type:

SeparatorKind | None

class ooodev.format.inner.direct.chart2.series.data_labels.data_labels.attrib_options.PlacementKind(value)[source]

Bases: Enum

Placement Kind.

ABOVE = 2
BELOW = 6
CENTER = 1
INSIDE = 10
NEAR_ORIGIN = 12
OUTSIDE = 11
class ooodev.format.inner.direct.chart2.series.data_labels.data_labels.attrib_options.SeparatorKind(value)[source]

Bases: Enum

Separator Kind.

COMMA = ', '
NEW_LINE = '\n'
PERIOD = '. '
SEMICOLON = '; '
SPACE = ' '