The QCategory3DAxis class manipulates an axis of a graph. More...
Header: | #include <QCategory3DAxis> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS DataVisualization) target_link_libraries(mytarget PRIVATE Qt6::DataVisualization) |
qmake: | QT += datavisualization |
Since: | QtDataVisualization 1.0 |
Instantiated By: | CategoryAxis3D |
Inherits: | QAbstract3DAxis |
QCategory3DAxis(QObject *parent = nullptr) | |
virtual | ~QCategory3DAxis() |
QStringList | labels() const |
void | setLabels(const QStringList &labels) |
void | labelsChanged() |
QCategory3DAxis provides an axis that can be given labels. The axis is divided into equal-sized categories based on the data window size defined by setting the axis range.
Grid lines are drawn between categories, if visible. Labels are drawn to positions of categories if provided.
This property holds the labels for the axis applied to categories.
If there are fewer labels than categories, the remaining ones do not have a label. If category labels are not defined explicitly, labels are generated from the data row (or column) labels of the primary series of the graph.
Access functions:
QStringList | labels() const |
void | setLabels(const QStringList &labels) |
Notifier signal:
void | labelsChanged() |
Constructs a category 3D axis with the parent parent.
[virtual]
QCategory3DAxis::~QCategory3DAxis()Destroys the category 3D axis.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: