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

interface XPlotter

Methods' Summary
getCoordinateSystemTypeID Each Plotter implicit uses a certain type of logic coordinate system for interpreting data as coordinates. For example a bar-chart uses a cartesian coordinate system for interpreting x- and y-values from a spreadsheet as cartesian coordinates. In contrast the pie chart assumes a polar coordinate system. The type of this implicit used source coordinate system has to be returned here. The returned type of an implementation never changes.  
init For each type of shapes ('logic' or 'illogic') there exists one container. The Plotter will create shapes and then add (or remove) them from these containers.  
setScales For each dimension of the 'logic source coordinate system' the XPlotter object needs a Scale to decide which shapes need to be created and maybe logically clipped. The XPlotter object becomes the new owner of the given scales and directions and needs to keep them alive. Nobody else will change them. Pay attention that a 'Scale' can have several breaks.  
setTransformation  
Methods' Details
getCoordinateSystemTypeID
CoordinateSystemTypeID
getCoordinateSystemTypeID();

Description
Each Plotter implicit uses a certain type of logic coordinate system for interpreting data as coordinates. For example a bar-chart uses a cartesian coordinate system for interpreting x- and y-values from a spreadsheet as cartesian coordinates. In contrast the pie chart assumes a polar coordinate system. The type of this implicit used source coordinate system has to be returned here. The returned type of an implementation never changes.
init
void
init( [in] ::com::sun::star::drawing::XShapes  xLogicTarget,
[in] ::com::sun::star::drawing::XShapes  xFinalTarget,
[in] ::com::sun::star::lang::XMultiServiceFactory  xFactory );

Description
For each type of shapes ('logic' or 'illogic') there exists one container. The Plotter will create shapes and then add (or remove) them from these containers.

The lifetime of the container has to be handled by the calling object. The calling object must assure that the container will exist longer than the XPlotter Object.

...
setScales
void
setScales( [in] sequence< ScaleData >  rScales );

Description
For each dimension of the 'logic source coordinate system' the XPlotter object needs a Scale to decide which shapes need to be created and maybe logically clipped. The XPlotter object becomes the new owner of the given scales and directions and needs to keep them alive. Nobody else will change them. Pay attention that a 'Scale' can have several breaks.
setTransformation
void
setTransformation( [in] XTransformation  xTransformationToLogicTarget,
[in] XTransformation  xTransformationToFinalPage );

Top of Page