KChart
KChartCartesianCoordinatePlane.h
200 * the model's values, when ever the data have changed, and then emit horizontalRangeAutomaticallyAdjusted.
207 * Automatic range adjusting can happen, when either all of the data are positive or all are negative.
222 * the model's values, when ever the data have changed, and then emit verticalRangeAutomaticallyAdjusted.
229 * Automatic range adjusting can happen, when either all of the data are positive or all are negative.
QRect geometry() const override
pure virtual in QLayoutItem
Definition KChartAbstractCoordinatePlane.cpp:232
AbstractDiagram * diagram()
Definition KChartAbstractCoordinatePlane.cpp:114
AbstractDiagram defines the interface for diagram classes.
Definition KChartAbstractDiagram.h:37
QRectF visibleDataRange() const
Returns the currently visible data range.
Definition KChartCartesianCoordinatePlane.cpp:845
void setAxesCalcModeX(AxesCalcMode mode)
Specifies the calculation mode for all Abscissa axes.
Definition KChartCartesianCoordinatePlane.cpp:588
QRectF visibleDiagramArea() const
Returns the visible part of the diagram area, i.e.
Definition KChartCartesianCoordinatePlane.cpp:349
bool hasOwnGridAttributes(Qt::Orientation orientation) const
Definition KChartCartesianCoordinatePlane.cpp:745
void setVerticalRange(const QPair< qreal, qreal > &range)
Set the boundaries of the visible value space displayed in vertical direction.
Definition KChartCartesianCoordinatePlane.cpp:620
unsigned int autoAdjustVerticalRangeToData() const
Returns the maximal allowed percent of the vertical space covered by the coordinate plane that may be...
Definition KChartCartesianCoordinatePlane.cpp:700
void adjustVerticalRangeToData()
Adjust vertical range settings to the ranges covered by the model's data values.
Definition KChartCartesianCoordinatePlane.cpp:662
void adjustHorizontalRangeToData()
Adjust horizontal range settings to the ranges covered by the model's data values.
Definition KChartCartesianCoordinatePlane.cpp:653
unsigned int autoAdjustHorizontalRangeToData() const
Returns the maximal allowed percent of the horizontal space covered by the coordinate plane that may ...
Definition KChartCartesianCoordinatePlane.cpp:695
void layoutDiagrams() override
Distribute the available space among the diagrams and axes.
Definition KChartCartesianCoordinatePlane.cpp:354
void setZoomFactorY(qreal factor) override
Definition KChartCartesianCoordinatePlane.cpp:522
void setZoomFactors(qreal factorX, qreal factorY) override
Definition KChartCartesianCoordinatePlane.cpp:506
bool isVerticalRangeReversed() const
Definition KChartCartesianCoordinatePlane.cpp:840
void setGeometry(const QRect &r) override
reimplemented from AbstractCoordinatePlane
Definition KChartCartesianCoordinatePlane.cpp:857
void adjustRangesToData()
Adjust both, horizontal and vertical range settings to the ranges covered by the model's data values.
Definition KChartCartesianCoordinatePlane.cpp:642
QPointF zoomCenter() const override
Definition KChartCartesianCoordinatePlane.cpp:538
const QPointF translate(const QPointF &diagramPoint) const override
Translate the given point in value space coordinates to a position in pixel space.
Definition KChartCartesianCoordinatePlane.cpp:442
void setAutoAdjustGridToZoom(bool autoAdjust)
Disable / re-enable the built-in grid adjusting feature.
Definition KChartCartesianCoordinatePlane.cpp:751
QPair< qreal, qreal > horizontalRange() const
Definition KChartCartesianCoordinatePlane.cpp:632
bool isHorizontalRangeReversed() const
Definition KChartCartesianCoordinatePlane.cpp:825
void setVerticalRangeReversed(bool reverse)
Sets whether the vertical range should be reversed or not, i.e.
Definition KChartCartesianCoordinatePlane.cpp:830
QPair< qreal, qreal > verticalRange() const
Definition KChartCartesianCoordinatePlane.cpp:637
AbstractCoordinatePlane * sharedAxisMasterPlane(QPainter *p=nullptr) override
reimpl
Definition KChartCartesianCoordinatePlane.cpp:768
void setZoomFactorX(qreal factor) override
Definition KChartCartesianCoordinatePlane.cpp:514
Qt::Orientations expandingDirections() const override
pure virtual in QLayoutItem
Definition KChartCartesianCoordinatePlane.cpp:884
void setAutoAdjustVerticalRangeToData(unsigned int percentEmpty=67)
Automatically adjust vertical range settings to the ranges covered by the model's values,...
Definition KChartCartesianCoordinatePlane.cpp:683
const GridAttributes gridAttributes(Qt::Orientation orientation) const
Definition KChartCartesianCoordinatePlane.cpp:724
void addDiagram(AbstractDiagram *diagram) override
Adds a diagram to this coordinate plane.
Definition KChartCartesianCoordinatePlane.cpp:72
void setXAxisStartAtZero(bool fixedStart)
Allows to fix the lower bound of X axis to zero when diagram is in first quadrant.
Definition KChartCartesianCoordinatePlane.cpp:387
void setHorizontalRangeReversed(bool reverse)
Sets whether the horizontal range should be reversed or not, i.e.
Definition KChartCartesianCoordinatePlane.cpp:815
QRectF logicalArea() const
Returns the logical area, i.e., the rectangle defined by the very top left and very bottom right coor...
Definition KChartCartesianCoordinatePlane.cpp:319
QSize sizeHint() const override
pure virtual in QLayoutItem
Definition KChartCartesianCoordinatePlane.cpp:904
void setIsometricScaling(bool onOff)
If onOff is true, enforce that X and Y distances are scaled by the same factor.
Definition KChartCartesianCoordinatePlane.cpp:456
void setAxesCalcModes(AxesCalcMode mode)
Specifies the calculation modes for all axes.
Definition KChartCartesianCoordinatePlane.cpp:564
void setAutoAdjustHorizontalRangeToData(unsigned int percentEmpty=67)
Automatically adjust horizontal range settings to the ranges covered by the model's values,...
Definition KChartCartesianCoordinatePlane.cpp:671
qreal zoomFactorX() const override
Definition KChartCartesianCoordinatePlane.cpp:543
void setZoomCenter(const QPointF ¢er) override
Definition KChartCartesianCoordinatePlane.cpp:530
void setFixedDataCoordinateSpaceRelation(bool fixed)
Allows to specify a fixed data-space / coordinate-space relation.
Definition KChartCartesianCoordinatePlane.cpp:375
void setHorizontalRange(const QPair< qreal, qreal > &range)
Set the boundaries of the visible value space displayed in horizontal direction.
Definition KChartCartesianCoordinatePlane.cpp:608
QRectF diagramArea() const
Returns the (physical) area occupied by the diagram.
Definition KChartCartesianCoordinatePlane.cpp:340
bool autoAdjustGridToZoom() const
Return the status of the built-in grid adjusting feature.
Definition KChartCartesianCoordinatePlane.cpp:763
void resetGridAttributes(Qt::Orientation orientation)
Reset the attributes to be used for grid lines drawn in horizontal direction (or in vertical directio...
Definition KChartCartesianCoordinatePlane.cpp:718
void setGridAttributes(Qt::Orientation orientation, const GridAttributes &)
Set the attributes to be used for grid lines drawn in horizontal direction (or in vertical direction,...
Definition KChartCartesianCoordinatePlane.cpp:705
void setAxesCalcModeY(AxesCalcMode mode)
Specifies the calculation mode for all Ordinate axes.
Definition KChartCartesianCoordinatePlane.cpp:578
qreal zoomFactorY() const override
Definition KChartCartesianCoordinatePlane.cpp:548
A set of attributes controlling the appearance of grids.
Definition KChartGridAttributes.h:26
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
Orientation
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.