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

com :: sun :: star :: table ::

interface XTableCharts

Base Interface
com::sun::star::container::XNameAccess

Description
provides methods to access charts via name and to insert and remove charts.
See also
com::sun::star::table::TableCharts


Known Services which Export this Interface

com::sun::star::table::TableCharts represents a collection of all charts based on data in a table.

Methods' Summary

addNewByName creates a chart and adds it to the collection.
removeByName removes a chart from the collection.

Methods' Details

addNewByName
 
void
addNewByName(
[ in ] string aName,
[ in ] com::sun::star::awt::Rectangle aRect,
[ in ] sequence< com::sun::star::table::CellRangeAddress > aRanges,
[ in ] boolean bColumnHeaders,
[ in ] boolean bRowHeaders );

Description
creates a chart and adds it to the collection.
Parameter aName
is the name of the chart. This name is used to reference the chart in the collection.
Parameter aRect
contains the rectangular location of the chart within the table (in 1/100th mm).
Parameter aRanges
all cell ranges containing the source data of the chart.
Parameter bColumnHeaders
if set to true , the topmost row of the source data will be used to set labels for the category axis or the legend.
Parameter bRowHeaders
if set to true , the leftmost column of the source data will be used to set labels for the category axis or the legend.
removeByName
 
void
removeByName(
[ in ] string aName );

Description
removes a chart from the collection.
Parameter aName
is the name of the chart to remove.

Top of Page