ooodev.adapter.chart.chart_data_array_partial module

class ooodev.adapter.chart.chart_data_array_partial.ChartDataArrayPartial(component, interface=com.sun.star.chart.XChartDataArray)[source]

Bases: ChartDataPartial

Partial class for XChartDataArray.

Parameters:
  • component (XChartDataArray) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.chart.XChartDataArray)[source]

Constructor

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

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

Return type:

None

get_column_descriptions()[source]

Gets the description texts for all columns.

Return type:

Tuple[str, ...]

get_data()[source]

Gets the numerical data as a nested sequence of values.

Return type:

Tuple[Tuple[float, ...], ...]

get_row_descriptions()[source]

retrieves the description texts for all rows.

Return type:

Tuple[str, ...]

set_column_descriptions(*descriptions)[source]

Sets the description texts for all columns.

Return type:

None

Parameters:

descriptions (str) –

set_data(data)[source]

Sets the chart data as an array of numbers.

Return type:

None

Parameters:

data (Tuple[Tuple[float, ...], ...]) –

set_row_descriptions(*descriptions)[source]

sets the description texts for all rows.

Return type:

None

Parameters:

descriptions (str) –