interface XChartDataArray in module com::sun::star::chart::

(Global Index)

Syntax

interface XChartDataArray : com::sun::star::chart::XChartData ;

Description

gives access to data represented as an array of rows.

If used for an XYDiagram , the row number 0 represents the x -values.

Method Summary

getData retrieves the numerical data as a nested sequence of values.

setData sets the chart data as an array of numbers.

getRowDescriptions retrieves the description texts for all rows.

setRowDescriptions sets the description texts for all rows.

getColumnDescriptions retrieves the description texts for all columns.

setColumnDescriptions sets the description texts for all columns.

Known Services Which Export this Interface

com::sun::star::chart::ChartDataArray

com::sun::star::text::TextTable

Method Details



getData

Syntax

sequence< sequence< double > > getData ();

Description

retrieves the numerical data as a nested sequence of values.

Returns

the values as a sequence of sequences. The inner sequence represents rows.

setData

Syntax

void setData (
sequence< sequence< double > > aData );

Description

sets the chart data as an array of numbers.

Parameter aData

the values as a sequence of sequences. The inner sequence represents rows.

getRowDescriptions

Syntax

sequence< string > getRowDescriptions ();

Description

retrieves the description texts for all rows.

Returns

a sequence of strings, each representing the description of a row.

setRowDescriptions

Syntax

void setRowDescriptions (
sequence< string > aRowDescriptions );

Description

sets the description texts for all rows.

Parameter aRowDescriptions

a sequence of strings which represent a description for each row.

getColumnDescriptions

Syntax

sequence< string > getColumnDescriptions ();

Description

retrieves the description texts for all columns.

Returns

a sequence of strings, each representing the description of a column.

setColumnDescriptions

Syntax

void setColumnDescriptions (
sequence< string > aColumnDescriptions );

Description

sets the description texts for all columns.

Parameter aColumnDescriptions

a sequence of strings which represent a description for each column.
Top of Page