Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: chart2 ::

interface XDiagram

Methods' Summary
getWall returns the property set that determines the visual appearance of the wall.  
getFloor returns the property set that determines the visual appearance of the floor if any.  
getLegend returns the legend, which may represent data series and other information about a diagram in a separate box.  
setLegend sets a new legend.  
getDefaultColorScheme returns an XColorScheme that defines the default colors for data series (or data points) in the diagram.  
setDefaultColorScheme sets an XColorScheme that defines the default colors for data series (or data points) in the diagram.  
setDiagramData sets new data to the diagram.  
Methods' Details
getWall
::com::sun::star::beans::XPropertySet
getWall();

Description
returns the property set that determines the visual appearance of the wall.

The wall is the area behind the union of all coordinate systems used in a diagram.

getFloor
::com::sun::star::beans::XPropertySet
getFloor();

Description
returns the property set that determines the visual appearance of the floor if any.

The floor is the bottom of a 3D diagram. For a 2D diagram NULL is returned.

getLegend
XLegend
getLegend();

Description
returns the legend, which may represent data series and other information about a diagram in a separate box.
setLegend
void
setLegend( [in] XLegend  xLegend );

Description
sets a new legend.
getDefaultColorScheme
XColorScheme
getDefaultColorScheme();

Description
returns an XColorScheme that defines the default colors for data series (or data points) in the diagram.
setDefaultColorScheme
void
setDefaultColorScheme( [in] XColorScheme  xColorScheme );

Description
sets an XColorScheme that defines the default colors for data series (or data points) in the diagram.
setDiagramData
void
setDiagramData( [in] ::com::sun::star::chart2::data::XDataSource  xDataSource,
[in] sequence< ::com::sun::star::beans::PropertyValue >  aArguments );

Description
sets new data to the diagram.
Parameter xDataSource
This data source will be interpreted in a chart-type specific way and the DataSeries found in xDiagram will be adapted to the new data. Missing data series will be created and unused ones will be deleted.
Parameter aArguments
Arguments tells how to slice the given data.

For standard parameters that may be used, see the service StandardDiagramCreationParameters.

Top of Page

Apache Software Foundation

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

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