ooodev.format.inner.partial.chart2.series.data_labels.data_labels.chart2_data_label_attrib_opt_partial module

class ooodev.format.inner.partial.chart2.series.data_labels.data_labels.chart2_data_label_attrib_opt_partial.Chart2DataLabelAttribOptPartial(component)[source]

Bases: object

Partial class for Chart2 Legend Position.

Parameters:

component (Any) –

__init__(component)[source]
Parameters:

component (Any) –

Return type:

None

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

Style Chart2 Data Label Attribute Options.

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.

Raises:

CancelEventError – If the event before_style_chart2_data_label_attribute_opt is cancelled and not handled.

Returns:

Attribute Options Style instance or None if cancelled.

Return type:

AttribOptions | None

Hint

PlacementKind, SeparatorKind and AttribOptions can be imported from ooodev.format.inner.direct.chart2.series.data_labels.data_labels.attrib_options