ooodev.format.inner.partial.chart2.legend.position.chart2_legend_pos_partial module
- class ooodev.format.inner.partial.chart2.legend.position.chart2_legend_pos_partial.Chart2LegendPosPartial(component)[source]
Bases:
objectPartial class for Chart2 Legend Position.
- Parameters:
component (Any) –
- style_position(*, pos=None, mode=None, no_overlap=None)[source]
Style Area Color.
- 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.
- Raises:
CancelEventError – If the event
before_style_chart2_legend_posis cancelled and not handled.- Returns:
Chart Legend Position style instance or
Noneif cancelled.- Return type:
PositionT | None
Hint
LegendPositioncan be imported fromooo.dyn.chart2.legend_position.DirectionModeKindcan be imported fromooodev.format.inner.direct.chart2.title.alignment.direction.