LibreOffice Module chart2 (master) 1
|
This class handles a collection of coordinate systems and is used for executing some action on all coordinate systems such as "prepareAutomaticAxisScaling" and "setExplicitScaleAndIncrement". More...
#include <AxisUsage.hxx>
Public Member Functions | |
AxisUsage () | |
void | addCoordinateSystem (VCoordinateSystem *pCooSys, sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex) |
std::vector< VCoordinateSystem * > | getCoordinateSystems (sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex) |
sal_Int32 | getMaxAxisIndexForDimension (sal_Int32 nDimensionIndex) |
void | prepareAutomaticAxisScaling (ScaleAutomatism &rScaleAutomatism, sal_Int32 nDimIndex, sal_Int32 nAxisIndex) |
void | setExplicitScaleAndIncrement (sal_Int32 nDimIndex, sal_Int32 nAxisIndex, const ExplicitScaleData &rScale, const ExplicitIncrementData &rInc) |
Public Attributes | |
ScaleAutomatism | aAutoScaling |
Private Attributes | |
tCoordinateSystemMap | aCoordinateSystems |
std::map< sal_Int32, sal_Int32 > | aMaxIndexPerDimension |
This class handles a collection of coordinate systems and is used for executing some action on all coordinate systems such as "prepareAutomaticAxisScaling" and "setExplicitScaleAndIncrement".
Moreover it contains the "aAutoScaling" object that is an instance of the "ScaleAutomatism" class. The initialization of "aAutoScaling" is performed in the "SeriesPlotterContainer::initAxisUsageList" method and is used in the "SeriesPlotterContainer::doAutoScaling" for calculating explicit scale and increment objects (see "SeriesPlotterContainer::doAutoScaling").
Definition at line 45 of file AxisUsage.hxx.
|
inline |
Definition at line 48 of file AxisUsage.hxx.
|
inline |
Definition at line 53 of file AxisUsage.hxx.
References aCoordinateSystems, and aMaxIndexPerDimension.
Referenced by chart::SeriesPlotterContainer::initAxisUsageList().
|
inline |
Definition at line 90 of file AxisUsage.hxx.
References aCoordinateSystems.
Referenced by prepareAutomaticAxisScaling(), and setExplicitScaleAndIncrement().
|
inline |
Definition at line 107 of file AxisUsage.hxx.
References aMaxIndexPerDimension.
|
inline |
Definition at line 116 of file AxisUsage.hxx.
References getCoordinateSystems().
|
inline |
Definition at line 125 of file AxisUsage.hxx.
References getCoordinateSystems().
ScaleAutomatism chart::AxisUsage::aAutoScaling |
Definition at line 134 of file AxisUsage.hxx.
|
private |
Definition at line 137 of file AxisUsage.hxx.
Referenced by addCoordinateSystem(), and getCoordinateSystems().
|
private |
Definition at line 138 of file AxisUsage.hxx.
Referenced by addCoordinateSystem(), and getMaxAxisIndexForDimension().