KChart
KChartAbstractGrid.cpp
Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane,...
Definition KChartAbstractCoordinatePlane.h:31
DataDimensionsList updateData(AbstractCoordinatePlane *plane)
Returns the cached result of data calculation.
Definition KChartAbstractGrid.cpp:43
static bool isValueValid(const qreal &r)
Checks if r is neither NaN nor infinity.
Definition KChartAbstractGrid.cpp:77
static void adjustLowerUpperRange(qreal &start, qreal &end, qreal stepWidth, bool adjustLower, bool adjustUpper)
Adjusts start and/or end so that they are a multiple of stepWidth.
Definition KChartAbstractGrid.cpp:82
void setNeedRecalculate()
Causes grid to be recalculated upon the next call of updateData().
Definition KChartAbstractGrid.cpp:38
static const DataDimension adjustedLowerUpperRange(const DataDimension &dim, bool adjustLower, bool adjustUpper)
Adjusts dim so that dim.start and/or dim.end are a multiple of dim.stepWidth.
Definition KChartAbstractGrid.cpp:95
static bool isBoundariesValid(const QRectF &r)
Checks whether both coordinates of r are valid according to isValueValid.
Definition KChartAbstractGrid.cpp:58
Helper class for one dimension of data, e.g.
Definition KChartAbstractCoordinatePlane.h:364
Q_SCRIPTABLE Q_NOREPLY void start()
const_reference at(qsizetype i) const const
void clear()
bool empty() const const
qsizetype size() const const
QPointF bottomRight() const const
QPointF topLeft() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:04:16 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:04:16 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.