QCategory3DAxis Class
The QCategory3DAxis class is used for manipulating an axis of a graph. More...
Header: | #include <QCategory3DAxis> |
Since: | QtDataVisualization 1.0 |
Instantiated By: | CategoryAxis3D |
Inherits: | QAbstract3DAxis |
Properties
- labels : QStringList
- 10 properties inherited from QAbstract3DAxis
- 1 property inherited from QObject
Public Functions
QCategory3DAxis(QObject *parent = Q_NULLPTR) | |
virtual | ~QCategory3DAxis() |
QStringList | labels() const |
void | setLabels(const QStringList &labels) |
- 19 public functions inherited from QAbstract3DAxis
- 31 public functions inherited from QObject
Signals
void | labelsChanged() |
- 10 signals inherited from QAbstract3DAxis
- 2 signals inherited from QObject
Additional Inherited Members
- 1 public slot inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
The QCategory3DAxis class is used for manipulating an axis of a graph.
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.
Property Documentation
labels : QStringList
Defines labels for 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() |
Member Function Documentation
QCategory3DAxis::QCategory3DAxis(QObject *parent = Q_NULLPTR)
Constructs QCategory3DAxis with parent.
[virtual]
QCategory3DAxis::~QCategory3DAxis()
Destroys QCategory3DAxis.