KChart
KChartAbstractCoordinatePlane.h
28 * @brief Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane, TernaryCoordinatePlane
138 virtual void setZoomFactors( qreal factorX, qreal factorY ) { Q_UNUSED( factorX ); Q_UNUSED( factorY ); }
244 virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = nullptr ); // KChart 3: const method?
Definition of global enums.
GranularitySequence
GranularitySequence specifies the values, that may be applied, to determine a step width within a giv...
Definition KChartEnums.h:78
Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane,...
Definition KChartAbstractCoordinatePlane.h:31
void geometryChanged(QRect, QRect)
Emitted after the geometry of the Coordinate Plane has been changed.
virtual const QPointF translate(const QPointF &diagramPoint) const =0
Translate the given point in value space coordinates to a position in pixel space.
virtual QPointF zoomCenter() const
Definition KChartAbstractCoordinatePlane.h:158
virtual void setZoomCenter(const QPointF ¢er)
Set the point (in value coordinates) to be used as the center point in zoom operations.
Definition KChartAbstractCoordinatePlane.h:165
virtual void addDiagram(AbstractDiagram *diagram)
Adds a diagram to this coordinate plane.
Definition KChartAbstractCoordinatePlane.cpp:57
bool isRubberBandZoomingEnabled() const
Definition KChartAbstractCoordinatePlane.cpp:266
void propertiesChanged()
Emitted upon change of a property of the Coordinate Plane or any of its components.
virtual void replaceDiagram(AbstractDiagram *diagram, AbstractDiagram *oldDiagram=nullptr)
Replaces the old diagram, or appends the diagram, it there is none yet.
Definition KChartAbstractCoordinatePlane.cpp:77
virtual void layoutDiagrams()=0
Distribute the available space among the diagrams and axes.
void setRubberBandZoomingEnabled(bool enable)
Enables or disables zooming with a rubber band using the mouse.
Definition KChartAbstractCoordinatePlane.cpp:255
virtual void setZoomFactorY(qreal factor)
Sets the zoom factor in vertical direction, that is applied to all coordinate transformations.
Definition KChartAbstractCoordinatePlane.h:152
void needRelayout()
Emitted when plane needs to trigger the Chart's layouting.
void viewportCoordinateSystemChanged()
Emitted upon change of the view coordinate system.
virtual qreal zoomFactorY() const
Definition KChartAbstractCoordinatePlane.h:132
AbstractDiagramList diagrams()
Definition KChartAbstractCoordinatePlane.cpp:124
AbstractDiagram * diagram()
Definition KChartAbstractCoordinatePlane.cpp:114
virtual void setZoomFactors(qreal factorX, qreal factorY)
Sets both zoom factors in one go.
Definition KChartAbstractCoordinatePlane.h:138
virtual qreal zoomFactorX() const
Definition KChartAbstractCoordinatePlane.h:126
void destroyedCoordinatePlane(KChart::AbstractCoordinatePlane *)
Emitted when this coordinate plane is destroyed.
void needLayoutPlanes()
Emitted when plane needs to trigger the Chart's layouting of the coord.
virtual void takeDiagram(AbstractDiagram *diagram)
Removes the diagram from the plane, without deleting it.
Definition KChartAbstractCoordinatePlane.cpp:98
void needUpdate()
Emitted when plane needs to update its drawings.
virtual void setZoomFactorX(qreal factor)
Sets the zoom factor in horizontal direction, that is applied to all coordinate transformations.
Definition KChartAbstractCoordinatePlane.h:145
AbstractDiagram defines the interface for diagram classes.
Definition KChartAbstractDiagram.h:37
Helper class for one dimension of data, e.g.
Definition KChartAbstractCoordinatePlane.h:364
qreal distance() const
Returns the size of the distance, equivalent to the width() (or height(), resp.) of a QRectF.
Definition KChartAbstractCoordinatePlane.h:397
A set of attributes controlling the appearance of grids.
Definition KChartGridAttributes.h:26
Q_SCRIPTABLE QString start(QString train="")
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
typedef Orientations
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.