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は、Qt Graphs の3D用C++クラスの一部です。
プロパティ
- labels : QStringList
公開関数
| 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)
親要素parent を使用して、カテゴリの3D軸を構築します。
[override virtual noexcept] QCategory3DAxis::~QCategory3DAxis()
カテゴリ「3D axis」を削除します。
© 2026 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.