LibreOffice Module chart2 (master) 1
|
This class provides methods for setting axis scales and for performing scene to screen transformations. More...
#include <PlotterBase.hxx>
Public Member Functions | |
PlotterBase (sal_Int32 nDimension) | |
virtual | ~PlotterBase () |
virtual void | initPlotter (const rtl::Reference< SvxShapeGroupAnyD > &xLogicTarget, const rtl::Reference< SvxShapeGroupAnyD > &xFinalTarget, const OUString &rCID) |
virtual void | setScales (std::vector< ExplicitScaleData > &&rScales, bool bSwapXAndYAxis) |
virtual void | setTransformationSceneToScreen (const css::drawing::HomogenMatrix &rMatrix) |
virtual void | createShapes ()=0 |
Static Public Member Functions | |
static bool | isValidPosition (const css::drawing::Position3D &rPos) |
Protected Member Functions | |
rtl::Reference< SvxShapeGroupAnyD > | createGroupShape (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const OUString &rName=OUString()) |
Protected Attributes | |
rtl::Reference< SvxShapeGroupAnyD > | m_xLogicTarget |
rtl::Reference< SvxShapeGroupAnyD > | m_xFinalTarget |
OUString | m_aCID |
const sal_Int32 | m_nDimension |
PlottingPositionHelper * | m_pPosHelper |
This class provides methods for setting axis scales and for performing scene to screen transformations.
It is used as the base class for all plotter classes.
Definition at line 42 of file PlotterBase.hxx.
chart::PlotterBase::PlotterBase | ( | sal_Int32 | nDimension | ) |
Definition at line 30 of file PlotterBase.cxx.
|
virtual |
Definition at line 47 of file PlotterBase.cxx.
|
protected |
Definition at line 71 of file PlotterBase.cxx.
References chart::ShapeFactory::createGroup2D(), chart::ShapeFactory::createGroup3D(), m_nDimension, and xTarget.
Referenced by chart::VPolarGrid::create2DRadiusGrid(), chart::VSeriesPlotter::createRegressionCurvesShapes(), chart::VCartesianGrid::createShapes(), chart::PieChart::createShapes(), chart::VSeriesPlotter::getErrorBarsGroupShape(), chart::VSeriesPlotter::getSeriesGroupShape(), chart::VSeriesPlotter::getSeriesGroupShapeBackChild(), chart::VSeriesPlotter::getSeriesGroupShapeFrontChild(), and chart::VAxisBase::prepareShapeCreation().
|
pure virtual |
Implemented in chart::VCartesianAxis, chart::VCartesianGrid, chart::VPolarAngleAxis, chart::VPolarGrid, chart::VPolarRadiusAxis, chart::AreaChart, chart::BarChart, chart::BubbleChart, chart::CandleStickChart, chart::NetChart, and chart::PieChart.
Referenced by chart::ChartView::impl_createDiagramAndContent().
|
virtual |
css::uno::RuntimeException |
Reimplemented in chart::VPolarRadiusAxis.
Definition at line 36 of file PlotterBase.cxx.
References m_aCID, m_xFinalTarget, and m_xLogicTarget.
Referenced by chart::VCartesianCoordinateSystem::createGridShapes(), chart::VPolarCoordinateSystem::createGridShapes(), chart::VPolarRadiusAxis::createShapes(), chart::ChartView::impl_createDiagramAndContent(), chart::VPolarRadiusAxis::initPlotter(), and chart::VPolarCoordinateSystem::initVAxisInList().
|
static |
Definition at line 87 of file PlotterBase.cxx.
|
virtual |
Reimplemented in chart::VPolarRadiusAxis, and chart::PieChart.
Definition at line 51 of file PlotterBase.cxx.
References m_nDimension, m_pPosHelper, and chart::PlottingPositionHelper::setScales().
Referenced by chart::VCartesianCoordinateSystem::createGridShapes(), chart::VPolarCoordinateSystem::createGridShapes(), chart::VPolarRadiusAxis::createShapes(), chart::VPolarCoordinateSystem::initVAxisInList(), chart::VPolarRadiusAxis::setScales(), chart::SeriesPlotterContainer::setScalesFromCooSysToPlotter(), and chart::VPolarCoordinateSystem::updateScalesAndIncrementsOnAxes().
|
virtual |
Reimplemented in chart::VAxisOrGridBase, and chart::VPolarRadiusAxis.
Definition at line 60 of file PlotterBase.cxx.
References m_nDimension, m_pPosHelper, and chart::PlottingPositionHelper::setTransformationSceneToScreen().
Referenced by chart::ChartView::impl_createDiagramAndContent(), and chart::VAxisOrGridBase::setTransformationSceneToScreen().
|
protected |
Definition at line 71 of file PlotterBase.hxx.
Referenced by chart::VPolarGrid::create2DRadiusGrid(), chart::VCartesianGrid::createShapes(), chart::VPolarRadiusAxis::createShapes(), initPlotter(), and chart::VAxisBase::prepareShapeCreation().
|
protected |
Definition at line 73 of file PlotterBase.hxx.
Referenced by chart::PieChart::createDataPoint(), chart::VSeriesPlotter::createErrorBar(), chart::VSeriesPlotter::createErrorBar_X(), chart::VSeriesPlotter::createErrorBar_Y(), chart::VSeriesPlotter::createErrorRectangle(), createGroupShape(), chart::VSeriesPlotter::createLegendEntriesForSeries(), chart::VSeriesPlotter::createRegressionCurvesShapes(), chart::VCartesianGrid::createShapes(), chart::VPolarGrid::createShapes(), chart::PieChart::createShapes(), chart::PieChart::createTextLabelShape(), chart::VAxisBase::getDimensionCount(), chart::VSeriesPlotter::getMaximumZ(), chart::PieChart::getPreferredDiagramAspectRatio(), chart::VSeriesPlotter::getPreferredLegendKeyAspectRatio(), chart::VPolarAxis::isAnythingToDraw(), chart::VSeriesPlotter::isExpandIfValuesCloseToBorder(), chart::PieChart::performLabelBestFitInnerPlacement(), chart::VAxisBase::prepareShapeCreation(), setScales(), chart::PieChart::setScales(), setTransformationSceneToScreen(), and chart::VSeriesPlotter::shouldSnapRectToUsedArea().
|
protected |
Definition at line 75 of file PlotterBase.hxx.
Referenced by chart::VSeriesPlotter::createErrorBar(), chart::VSeriesPlotter::createErrorRectangle(), chart::VSeriesPlotter::createRegressionCurvesShapes(), chart::VCartesianGrid::createShapes(), chart::VSeriesPlotter::getPlottingPositionHelper(), chart::VSeriesPlotter::getPreferredDiagramAspectRatio(), setScales(), setTransformationSceneToScreen(), chart::VCartesianAxis::VCartesianAxis(), chart::VCartesianGrid::VCartesianGrid(), chart::VPolarAxis::VPolarAxis(), chart::VPolarGrid::VPolarGrid(), chart::VCartesianAxis::~VCartesianAxis(), and chart::VCartesianGrid::~VCartesianGrid().
|
protected |
Definition at line 70 of file PlotterBase.hxx.
Referenced by chart::VPolarGrid::createShapes(), chart::VPolarRadiusAxis::createShapes(), chart::PieChart::createShapes(), initPlotter(), chart::VAxisBase::isAnythingToDraw(), and chart::VAxisBase::prepareShapeCreation().
|
protected |
Definition at line 69 of file PlotterBase.hxx.
Referenced by chart::VCartesianGrid::createShapes(), chart::VPolarGrid::createShapes(), chart::VPolarRadiusAxis::createShapes(), chart::PieChart::createShapes(), chart::PieChart::createTextLabelShape(), initPlotter(), chart::VAxisBase::isAnythingToDraw(), chart::PieChart::performLabelBestFitInnerPlacement(), and chart::VAxisBase::prepareShapeCreation().