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

interface XChartType

Methods' Summary
getChartType  
createCoordinateSystem Creates a coordinate systems that fits the chart-type with its current settings and for the given dimension.  
getSupportedMandatoryRoles Returns a sequence of roles that are understood by this chart type.  
getSupportedOptionalRoles Returns a sequence of roles that are understood in addition to the mandatory roles (see XChartType::getSupportedMandatoryRoles()).  
getSupportedPropertyRoles Returns a sequence with supported property mapping roles.  
getRoleOfSequenceForSeriesLabel Returns the role of the XLabeledDataSequence of which the label will be taken to identify the DataSeries in dialogs or the legend.  
Methods' Details
getChartType
string
getChartType();

createCoordinateSystem
XCoordinateSystem
createCoordinateSystem( [in] long  DimensionCount )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Creates a coordinate systems that fits the chart-type with its current settings and for the given dimension.
Throws
IllegalArgumentException This chart type cannot be displayed in the given dimension.
getSupportedMandatoryRoles
sequence< string >
getSupportedMandatoryRoles();

Description
Returns a sequence of roles that are understood by this chart type.

All roles must be listed in the order in which they are usually parsed. This ensures that gluing sequences together and splitting them up apart again results in the same structure as before.

Note, that this does not involve optional roles, like error-bars.

getSupportedOptionalRoles
sequence< string >
getSupportedOptionalRoles();

Description
Returns a sequence of roles that are understood in addition to the mandatory roles (see XChartType::getSupportedMandatoryRoles()).

An example for an optional role are error-bars.

getSupportedPropertyRoles
sequence< string >
getSupportedPropertyRoles();

Description
Returns a sequence with supported property mapping roles.

An example for a property mapping role is FillColor.

getRoleOfSequenceForSeriesLabel
string
getRoleOfSequenceForSeriesLabel();

Description
Returns the role of the XLabeledDataSequence of which the label will be taken to identify the DataSeries in dialogs or the legend.
Top of Page