KChart
KChartTernaryCoordinatePlane.cpp
109 d->xUnit = usableWidth / diagramNativeRectangle.width(); // only because we normalize the values to [0..1]
QRect areaGeometry() const override
Definition KChartAbstractArea.cpp:137
Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane,...
Definition KChartAbstractCoordinatePlane.h:31
virtual void addDiagram(AbstractDiagram *diagram)
Adds a diagram to this coordinate plane.
Definition KChartAbstractCoordinatePlane.cpp:57
AbstractDiagramList diagrams()
Definition KChartAbstractCoordinatePlane.cpp:124
AbstractDiagram * diagram()
Definition KChartAbstractCoordinatePlane.cpp:114
AbstractDiagram defines the interface for diagram classes.
Definition KChartAbstractDiagram.h:37
Base class for diagrams based on a ternary coordinate plane.
Definition KChartAbstractTernaryDiagram.h:24
void layoutDiagrams() override
Distribute the available space among the diagrams and axes.
Definition KChartTernaryCoordinatePlane.cpp:52
void addDiagram(AbstractDiagram *diagram) override
Adds a diagram to this coordinate plane.
Definition KChartTernaryCoordinatePlane.cpp:44
const QPointF translate(const QPointF &diagramPoint) const override
Translate the given point in value space coordinates to a position in pixel space.
Definition KChartTernaryCoordinatePlane.cpp:123
bool isEmpty() const const
qsizetype size() const const
T qobject_cast(QObject *object)
Antialiasing
void setRenderHint(RenderHint hint, bool on)
void setX(qreal x)
void setY(qreal y)
qreal x() const const
qreal y() const const
void adjust(qreal dx1, qreal dy1, qreal dx2, qreal dy2)
qreal height() const const
qreal width() const const
qreal x() const const
QSizeF expandedTo(const QSizeF &otherSize) const const
qreal height() const const
qreal width() const const
MinimumExpanding
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.