QCategory3DAxis Class

The QCategory3DAxis class manipulates an axis of a graph. 更多...

頭: #include <QCategory3DAxis>
Since: QtDataVisualization 1.0
實例化: CategoryAxis3D
繼承: QAbstract3DAxis

特性

公共函數

QCategory3DAxis (QObject * parent = nullptr)
virtual ~QCategory3DAxis ()
QStringList labels () const
void setLabels (const QStringList & labels )

信號

void labelsChanged ()

靜態公共成員

const QMetaObject staticMetaObject

額外繼承成員

詳細描述

The QCategory3DAxis class manipulates 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.

特性文檔編製

labels : QStringList

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.

訪問函數:

QStringList labels () const
void setLabels (const QStringList & labels )

通知程序信號:

void labelsChanged ()

成員函數文檔編製

QCategory3DAxis:: QCategory3DAxis ( QObject * parent = nullptr)

Constructs a category 3D axis with the parent parent .

[虛擬] QCategory3DAxis:: ~QCategory3DAxis ()

Destroys the category 3D axis.