QCategory3DAxis Class

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

头文件: #include <QCategory3DAxis>
开始支持版本: QtDataVisualization 1.0
Instantiated By: CategoryAxis3D
基类: QAbstract3DAxis

属性

公有函数

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

信号

void labelsChanged()

其他继承的成员

  • 1 个公有槽函数继承自 QObject
  • 1 个公有变量继承自 QObject
  • 10 个静态公有成员继承自 QObject
  • 9 个受保护的函数继承自 QObject
  • 2 个受保护的变量继承自 QObject

详细描述

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)

Notifier signal:

void labelsChanged()

成员函数

QCategory3DAxis::QCategory3DAxis(QObject *parent = Q_NULLPTR)

Constructs a category 3D axis with the parent parent.

[virtual] QCategory3DAxis::~QCategory3DAxis()

Destroys the category 3D axis.