ooodev.adapter.chart2.data.data_source_partial module

class ooodev.adapter.chart2.data.data_source_partial.DataSourcePartial(component, interface=com.sun.star.chart2.data.XDataSource)[source]

Bases: object

Partial class for XDataSource.

Parameters:
  • component (XDataSource) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

get_data_sequences()[source]

Returns data sequences.

If the data stored consist only of floating point numbers (double values), the returned instances should also support the service NumericalDataSequence.

If the data stored consist only of strings, the returned instances should also support the service TextualDataSequence.

Return type:

Tuple[XLabeledDataSequence, ...]