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:
object
Partial 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_orientation
is cancelled and not handled.- Returns:
Orientation Style instance or
None
if cancelled.- Return type:
Orientation | None
Hint
Angle
can be imported fromooodev.units
DirectionModeKind
can be imported fromooodev.format.inner.direct.chart2.title.alignment.direction
Orientation
can be imported fromooodev.format.inner.direct.chart2.series.data_labels.data_labels.orientation