Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XChartDataArray
Base Interfaces
XChartDataArrayXChartData

XChartData
(referenced interface's summary:)
manages the data of the chart.
Description
gives access to data represented as an array of rows.

Can be obtained from interface XChartDocument via method getData().

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

Developers Guide
Charts - Data Access

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.