Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XChartDataArray

Base Interface
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.



Known Services which Export this Interface

com::sun::star::chart::ChartDataArray must be supported by each data source for charts, where you want to access the values directly.
com::sun::star::sheet::SheetCellRange represents a rectangular range of cells in a spreadsheet document.
com::sun::star::sheet::SheetCellRanges represents a collection of cell ranges in a spreadsheet document.
com::sun::star::text::TextTable is a table of text cells which is anchored to a surrounding text.

Methods' 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.

Methods' Details

getData
 
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
 
void
setData(
[ in ] 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
 
sequence< string >
getRowDescriptions();
Description
retrieves the description texts for all rows.
Returns
a sequence of strings, each representing the description of a row.
setRowDescriptions
 
void
setRowDescriptions(
[ in ] 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
 
sequence< string >
getColumnDescriptions();
Description
retrieves the description texts for all columns.
Returns
a sequence of strings, each representing the description of a column.
setColumnDescriptions
 
void
setColumnDescriptions(
[ in ] 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