ooodev.format.inner.partial.chart2.series.data_labels.data_labels.chart2_data_label_orientation_partial module
- class ooodev.format.inner.partial.chart2.series.data_labels.data_labels.chart2_data_label_orientation_partial.Chart2DataLabelOrientationPartial(component)[source]
Bases:
objectPartial class for Chart2 Data Labels Orientation.
- Parameters:
component (Any) –
- style_orientation(angle=None, mode=None, leaders=None)[source]
Style Chart2 Data Series Text Attributes.
- 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.
- Raises:
CancelEventError – If the event
before_style_chart2_data_label_orientationis cancelled and not handled.- Returns:
Orientation Style instance or
Noneif cancelled.- Return type:
Orientation | None
Hint
Anglecan be imported fromooodev.unitsDirectionModeKindcan be imported fromooodev.format.inner.direct.chart2.title.alignment.directionOrientationcan be imported fromooodev.format.inner.direct.chart2.series.data_labels.data_labels.orientation