LibreOffice LibreOffice 4.2 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Exported Interfaces | Public Attributes | List of all members
Diagram Service Reference

`import"Diagram.idl";`

Inheritance diagram for Diagram:

## Exported Interfaces
interface | ::com::sun::star::chart2::XDiagram
interface | ::com::sun::star::chart2::XCoordinateSystemContainer
interface | XTitled
| gives access to the sub title of a chart document More...
interface | ::com::sun::star::chart::X3DDefaultSetter
| makes it easy to set suitable defaults for illumination and rotation for 3D charts More...

## Public Attributes
::com::sun::star::chart2::RelativePosition | RelativePosition
| The position is as a relative position on the page. More...
::com::sun::star::chart2::RelativeSize | RelativeSize
| The size of the diagram as relative size of the page size. More...
boolean | PosSizeExcludeLabels
| The attributes RelativePosition and RelativeSize should be used for the inner coordinate region without axis labels and without data labels. More...
boolean | SortByXValues
| Sort data points by x values for rendering. More...
boolean | ConnectBars
| Draw connection lines for stacked bar charts. More...
boolean | GroupBarsPerAxis
| If bars of a bar or column chart are attached to different axis, this property determines how to display those. More...
long | StartingAngle
| Starting angle in degrees for pie charts and doughnut charts. More...
boolean | RightAngledAxes
long | Perspective
| Perspective of 3D charts ( [0,100] ). More...
long | RotationHorizontal
| Horizontal rotation of 3D charts in degrees ( ]-180,180] ). More...
long | RotationVertical
| Vertical rotation of 3D charts in degrees ( ]-180,180] ). More...
long | MissingValueTreatment
| specifies how empty or invalid cells in the provided data should be handled when displayed More...

## Additional Inherited Members
Public Member Functions inherited from XDiagram
com::sun::star::beans::XPropertySet | getWall ()
| returns the property set that determines the visual appearance of the wall. More...
com::sun::star::beans::XPropertySet | getFloor ()
| returns the property set that determines the visual appearance of the floor if any. More...
XLegend | getLegend ()
| returns the legend, which may represent data series and other information about a diagram in a separate box. More...
void | setLegend ([in] XLegend xLegend)
| sets a new legend. More...
XColorScheme | getDefaultColorScheme ()
| returns an XColorScheme that defines the default colors for data series (or data points) in the diagram. More...
void | setDefaultColorScheme ([in] XColorScheme xColorScheme)
| sets an XColorScheme that defines the default colors for data series (or data points) in the diagram. More...
void | setDiagramData ([in] com::sun::star::chart2::data::XDataSource xDataSource, [in] sequence< com::sun::star::beans::PropertyValue > aArguments)
| sets new data to the diagram. More...
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object. More...
void | acquire ()
| increases the reference counter by one. More...
void | release ()
| decreases the reference counter by one. More...
Public Member Functions inherited from XCoordinateSystemContainer
void | addCoordinateSystem ([in] XCoordinateSystem aCoordSys) raises ( com::sun::star::lang::IllegalArgumentException )
| add an coordinate system to the coordinate system container More...
void | removeCoordinateSystem ([in] XCoordinateSystem aCoordSys) raises ( com::sun::star::container::NoSuchElementException )
| removes one coordinate system from the coordinate system container. More...
sequence< XCoordinateSystem > | getCoordinateSystems ()
| retrieve all coordinate systems More...
void | setCoordinateSystems ([in] sequence< XCoordinateSystem > aCoordinateSystems) raises ( com::sun::star::lang::IllegalArgumentException )
| set all coordinate systems More...
Public Member Functions inherited from XTitled
XTitle | getTitleObject ()
| get the object holding the title's content and formatting More...
void | setTitleObject ([in] XTitle Title)
| set a new title object replacing the former one More...
Protected Member Functions inherited from X3DDefaultSetter
void | set3DSettingsToDefault ()
| The result may depend on the current chart type and the current shade mode. More...
void | setDefaultRotation ()
| sets a suitable default for the rotation of the current 3D chart. More...
void | setDefaultIllumination ()
| set suitable defaults for the illumination of the current 3D chart. More...

## Exported Interfaces

interface ::com::sun::star::chart2::XCoordinateSystemContainer

interface ::com::sun::star::chart2::XDiagram

interface ::com::sun::star::chart::X3DDefaultSetter
| optional

makes it easy to set suitable defaults for illumination and rotation for 3D charts

interface XTitled

gives access to the sub title of a chart document

## Member Data Documentation

boolean ConnectBars
| optional property

Draw connection lines for stacked bar charts.

boolean GroupBarsPerAxis
| optional property

If bars of a bar or column chart are attached to different axis, this property determines how to display those.

If `TRUE`, the bars are grouped together in one block for each axis, thus they are painted one group over the other.

If `FALSE`, the bars are displayed side-by-side, as if they were all attached to the same axis.

If all data series of a bar or column chart are attached to only one axis, this property has no effect.

long MissingValueTreatment
| optional property

specifies how empty or invalid cells in the provided data should be handled when displayed

See Also
  com::sun::star::chart::MissingValueTreatment

long Perspective
| optional property

Perspective of 3D charts ( [0,100] ).

boolean PosSizeExcludeLabels
| optional property

The attributes RelativePosition and RelativeSize should be used for the inner coordinate region without axis labels and without data labels.

::com::sun::star::chart2::RelativePosition RelativePosition
| property maybevoid

The position is as a relative position on the page.

If a relative position is given the diagram is not automatically placed, but instead is placed relative on the page.

::com::sun::star::chart2::RelativeSize RelativeSize
| property

The size of the diagram as relative size of the page size.

boolean RightAngledAxes
| optional property

long RotationHorizontal
| optional property

Horizontal rotation of 3D charts in degrees ( ]-180,180] ).

long RotationVertical
| optional property

Vertical rotation of 3D charts in degrees ( ]-180,180] ).

boolean SortByXValues
| optional property

Sort data points by x values for rendering.

long StartingAngle
| optional property

Starting angle in degrees for pie charts and doughnut charts.

The documentation for this service was generated from the following file:

- com/sun/star/chart2/Diagram.idl