ooodev.format.inner.partial.chart2.borders.axis_line_properties_partial module
- class ooodev.format.inner.partial.chart2.borders.axis_line_properties_partial.AxisLinePropertiesPartial(factory_name, component, lo_inst=None)[source]
Bases:
object
Partial class for Chart2 Axis Line Properties.
- Parameters:
factory_name (str) –
component (Any) –
lo_inst (LoInst | None) –
- __init__(factory_name, component, lo_inst=None)[source]
- Parameters:
factory_name (str) –
component (Any) –
lo_inst (LoInst | None) –
- Return type:
None
- style_axis_line(color=0, width=0, transparency=0, style=BorderLineKind.CONTINUOUS)[source]
Style Axis Line.
- Parameters:
color (Color, optional) – Line Color. Defaults to
Color(0)
.width (float | UnitT, optional) – Line Width (in
mm
units) or Class UnitT. Defaults to0
.transparency (int | Intensity, optional) – Line transparency from
0
to100
. Defaults to0
.style (BorderLineKind, optional) – Line style. Defaults to
BorderLineKind.CONTINUOUS
.
- Raises:
CancelEventError – If the event
before_style_axis_line
is cancelled and not handled.- Returns:
Axis Line Style or
None
if cancelled.- Return type:
LinePropertiesT | None
Hint
BorderLineKind
can be imported fromooodev.format.inner.preset.preset_border_line
Intensity
can be imported fromooodev.utils.data_type.intensity
- style_axis_line_get()[source]
Gets the axis line properties style.
- Raises:
CancelEventError – If the event
before_style_axis_line_get
is cancelled and not handled.- Returns:
Line properties style or
None
if cancelled.- Return type:
LinePropertiesT | None