ooodev.adapter.chart2.axis_partial module

class ooodev.adapter.chart2.axis_partial.AxisPartial(component, interface=com.sun.star.chart2.XAxis)[source]

Bases: object

Partial class for XAxis.

Parameters:
  • component (XAxis) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.chart2.XAxis)[source]

Constructor

Parameters:
  • component (XAxis) – UNO Component that implements com.sun.star.chart2.XAxis interface.

  • interface (UnoInterface, optional) – The interface to be validated. Defaults to XAxis.

Return type:

None

get_grid_properties()[source]

Gets the returned property set must support the service GridProperties

Return type:

XPropertySet

get_scale_data()[source]

Gets the scale data.

Return type:

ScaleData

get_sub_grid_properties()[source]

the returned property sets must support the service GridProperties

If you do not want to render certain a sub-grid, in the corresponding XPropertySet the property GridProperties.Show must be FALSE.

Return type:

Tuple[XPropertySet, ...]

get_sub_tick_properties()[source]

the returned property sets must support the service TickProperties

Return type:

Tuple[XPropertySet, ...]

set_scale_data(scale)[source]

Sets the scale data.

Return type:

None

Parameters:

scale (com.sun.star.chart2.ScaleData) –