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

service Diagram
Description
the base service for the diagram of the chart document.

The diagram is the object that contains the actual plot.

Different Diagram Types, e.g., PieDiagram or LineDiagram, can be instantiated by the ::com::sun::star::lang::XMultiServiceFactory of the XChartDocument.

Developers Guide
Charts - Setting the Chart Type

Included Services - Summary
::com::sun::star::xml::UserDefinedAttributeSupplier

If a Diagram may be stored as XML file, this service should be supported in order to preserve unparsed XML attributes. (details)

Exported Interfaces - Summary
XDiagram
(referenced entity's summary:)
manages the diagram of the chart document.
::com::sun::star::beans::XPropertySet
(referenced entity's summary:)
provides information about and access to the properties from an implementation.
Properties' Summary
boolean
AutomaticPosition
[ OPTIONAL ]
If this property is true the position is calculated by the application automatically. Setting this property to false will have no effect. Instead use the interface ::com::sun::star::drawing::XShape to set a concrete position (note XDiagram is derived from ::com::sun::star::drawing::XShape).  
boolean
AutomaticSize
[ OPTIONAL ]
If this property is true the size is calculated by the application automatically. Setting this property to false will have no effect. Instead use the interface ::com::sun::star::drawing::XShape to set a concrete size (note XDiagram is derived from ::com::sun::star::drawing::XShape).  
ChartDataRowSource
DataRowSource
determines if the data for a data row is contained in the columns or in the rows of the data array.  
long
DataCaption
specifies how the caption of data points is displayed.  
long
MissingValueTreatment
[ OPTIONAL ]
specifies how empty or invalid cells in the provided data should be handled when displayed  
Included Services - Details
::com::sun::star::xml::UserDefinedAttributeSupplier
Usage Restrictions
optional
Description
If a Diagram may be stored as XML file, this service should be supported in order to preserve unparsed XML attributes.
Since
OpenOffice 1.1.2
Exported Interfaces - Details
XDiagram
(referenced entity's summary:)
manages the diagram of the chart document.
::com::sun::star::beans::XPropertySet
(referenced entity's summary:)
provides information about and access to the properties from an implementation.
Properties' Details
AutomaticPosition
boolean AutomaticPosition;
Usage Restrictions
optional
Description
If this property is true the position is calculated by the application automatically. Setting this property to false will have no effect. Instead use the interface ::com::sun::star::drawing::XShape to set a concrete position (note XDiagram is derived from ::com::sun::star::drawing::XShape).
AutomaticSize
boolean AutomaticSize;
Usage Restrictions
optional
Description
If this property is true the size is calculated by the application automatically. Setting this property to false will have no effect. Instead use the interface ::com::sun::star::drawing::XShape to set a concrete size (note XDiagram is derived from ::com::sun::star::drawing::XShape).
DataRowSource
ChartDataRowSource DataRowSource;
Description
determines if the data for a data row is contained in the columns or in the rows of the data array.
See also
ChartDataRowSource, ChartDataArray
DataCaption
long DataCaption;
Description
specifies how the caption of data points is displayed.
See also
ChartDataCaption
MissingValueTreatment
long MissingValueTreatment;
Usage Restrictions
optional
Description
specifies how empty or invalid cells in the provided data should be handled when displayed
See also
MissingValueTreatment

 
Top of Page