QCategory3DAxis Class

QCategory3DAxis クラスは、グラフの軸を操作します。詳細...

ヘッダー #include <QCategory3DAxis>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake QT += graphs
QML で Category3DAxis
継承: QAbstract3DAxis

プロパティ

パブリック機能

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

詳細説明

QCategory3DAxis は、ラベルを与えることができる軸を提供します。軸は、軸範囲の設定によって定義されたデータ・ウィンドウ・サイズに基づいて、等しいサイズのカテゴリに分割されます。

グリッド線は、表示されている場合、カテゴリ間に引かれます。ラベルは、提供されている場合、カテゴリの位置に描画されます。

プロパティのドキュメント

labels : QStringList

このプロパティは、カテゴリに適用される軸のラベルを保持する。

ラベルがカテゴリより少ない場合、残りのラベルはラベルを持たない。カテゴリ・ラベルが明示的に定義されていない場合、ラベルはグラフの主系列のデータ行(または列)ラベルから生成される。

アクセス関数:

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

通知シグナル:

void labelsChanged()

メンバ関数ドキュメント

[explicit] QCategory3DAxis::QCategory3DAxis(QObject *parent = nullptr)

親を持つカテゴリ3D軸を構築するparent

[override virtual noexcept] QCategory3DAxis::~QCategory3DAxis()

カテゴリの3D軸を破壊する。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.