KChart
KChartCartesianAxis.h
Base class for diagrams based on a cartesian coordianate system.
Definition KChartAbstractCartesianDiagram.h:28
AbstractDiagram defines the interface for diagram classes.
Definition KChartAbstractDiagram.h:37
void resetTitleTextAttributes()
Reset the title text attributes to the built-in default:
Definition KChartCartesianAxis.cpp:453
void setCustomTickLength(int value)
Sets the length of custom ticks on the axis.
Definition KChartCartesianAxis.cpp:1102
void setGeometry(const QRect &r) override
pure virtual in QLayoutItem
Definition KChartCartesianAxis.cpp:1088
QList< qreal > customTicks() const
Returns the currently set custom ticks on the axis.
Definition KChartCartesianAxis.cpp:1138
QMap< qreal, QString > annotations() const
Returns the currently set axis annotations.
Definition KChartCartesianAxis.cpp:1123
CartesianAxis(AbstractCartesianDiagram *diagram=nullptr)
C'tor of the class for cartesian axes.
Definition KChartCartesianAxis.cpp:374
int customTickLength() const
Returns the length of custom ticks on the axis.
Definition KChartCartesianAxis.cpp:1112
QSize minimumSize() const override
pure virtual in QLayoutItem
Definition KChartCartesianAxis.cpp:1076
Qt::Orientations expandingDirections() const override
pure virtual in QLayoutItem
Definition KChartCartesianAxis.cpp:928
bool compare(const CartesianAxis *other) const
Returns true if both axes have the same settings.
Definition KChartCartesianAxis.cpp:403
TextAttributes titleTextAttributes() const
Returns the text attributes that will be used for displaying the title text.
Definition KChartCartesianAxis.cpp:441
void setTitleText(const QString &text)
Sets the optional text displayed as axis title.
Definition KChartCartesianAxis.cpp:421
void setCustomTicks(const QList< qreal > &ticksPostions)
Sets custom ticks on the axis.
Definition KChartCartesianAxis.cpp:1143
void setAnnotations(const QMap< qreal, QString > &annotations)
Sets the axis annotations to annotations.
Definition KChartCartesianAxis.cpp:1128
void setTitleSpace(qreal value)
Definition KChartCartesianAxis.cpp:583
void setTitleSize(qreal value)
use setTitleTextAttributes() instead
Definition KChartCartesianAxis.cpp:593
Q_ENUM(...)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
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.