23 #include "KDChartPlotter_p.h" 26 #include "KDChartPainterSaver_p.h" 28 #include "PaintingHelpers_p.h" 32 Plotter::Private::Private(
const Private& rhs )
35 , useCompression( rhs.useCompression )
39 void Plotter::Private::init()
41 AbstractCartesianDiagram::Private::init();
45 void Plotter::Private::setCompressorResolution(
49 compressor.setResolution( static_cast<int>( size.width() * plane->
zoomFactorX() ),
50 static_cast<int>( size.height() * plane->
zoomFactorY() ) );
53 void Plotter::Private::changedProperties()
58 if ( verticalRange.first != verticalRange.second )
59 implementor->plotterCompressor().setForcedDataBoundaries( verticalRange, Qt::Vertical );
61 if ( verticalRange.first != horizontalRange.second )
62 implementor->plotterCompressor().setForcedDataBoundaries( horizontalRange, Qt::Horizontal );
68 return m_private->attributesModel;
73 return m_private->reverseMapper;
76 Plotter* Plotter::PlotterType::diagram()
const 78 return static_cast< Plotter*
>( m_private->diagram );
81 CartesianDiagramDataCompressor& Plotter::PlotterType::compressor()
const 83 return m_private->compressor;
88 return m_private->plotterCompressor;
93 return m_private->useCompression;
98 m_private->useCompression = value;
Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane, TernaryCoordinatePlane.
Plotter defines a diagram type plotting two-dimensional data.
The ReverseMapper stores information about objects on a chart and their respective model indexes...
A proxy model used for decorating data with attributes.
Base class for diagrams based on a cartesian coordianate system.
virtual qreal zoomFactorY() const
Class only listed here to document inheritance of some KDChart classes.
Cartesian coordinate plane.
virtual qreal zoomFactorX() const