ooodev.format.inner.direct.chart2.axis.positioning.axis_line module

class ooodev.format.inner.direct.chart2.axis.positioning.axis_line.AxisLine(cross=None, value=<object object>)[source]

Bases: StyleBase

Chart Axis Line.

Select where to cross the other axis: at start, at end, at a specified value, or at a category.

New in version 0.9.4.

__init__(cross=None, value=<object object>)[source]

Constructor

Parameters:
  • cross (ChartAxisPosition, optional) – The position where the axis crosses the other axis.

  • value (float, None, optional) – The value where the axis crosses the other axis.

Return type:

None

on_property_setting(source, event_args)[source]

Triggers for each property that is set

Parameters:
  • source (Any) – Event Source.

  • event_args (KeyValueCancelArgs) – Event Args

Return type:

None

property prop_cross: ChartAxisPosition | None
Return type:

ChartAxisPosition | None

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_value: Any
Return type:

Any