:: com :: sun :: star :: chart ::
|
interface XChartDocument |
- Base Interfaces
XChartDocument
┗ ::com::sun::star::frame::XModel
┗ ::com::sun::star::lang::XComponent
::com::sun::star::frame::XModel |
- (referenced interface's summary:)
- represents a component which is created from an URL and arguments.
|
|
- Description
- manages the chart document.
- See also
- XDiagram, XChartData
|
Methods' Details |
getTitle
- Returns
- the shape of the main title of the chart document.
- See also
- ChartTitle
|
|
getSubTitle
- Returns
- the shape of the subtitle of the chart document.
Usually the subtitle is smaller than the main title by
default. And it is most commonly placed below the main title
by default.
- See also
- ChartTitle
|
|
getLegend
- Returns
- the shape of the legend of the chart document.
- See also
- ChartLegend
|
|
getArea
- Returns
- the properties of the background area of the chart document.
The area's extent is equal to the document size. If you
want to access properties of the background area of the
diagram, in which the actual data is represented, you have to
change the chart wall which you get from the
X3DDisplay.
- See also
- ChartArea, X3DDisplay
|
|
getDiagram
- Returns
- the diagram of the chart document.
- See also
- Diagram
|
|
setDiagram
void |
setDiagram( |
[in] XDiagram |
xDiagram ); |
- Description
- sets the diagram for the chart document.
Setting a new diagram implicitly disposes the previous
diagram.
- Parameter xDiagram
- the new diagram that should be set for the chart. To
create such a diagram component, you can use the
::com::sun::star::lang::XMultiServiceFactory,
which should be implemented by an
XChartDocument.
|
|
getData
|
attachData
- Description
- attaches data to the chart.
The given object needs to support interface XChartDataArray.
Since OOo 3.3 if the given object might support interface XComplexDescriptionAccess
which allows to set complex hierarchical axis descriptions.
Since OOo 3.4 if the given object might support interface XDateCategories
which allows to set date values as x values for category charts.
The given data is copied before it is applied to the chart.
So changing xData after this call will have no effect on the chart.
- Parameter xData
- the object that provides the new data.
- See also
- XChartData, XChartDataArray, XComplexDescriptionAccess, XDateCategories
|
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.