QCategory3DAxis Class
QCategory3DAxis 클래스는 그래프의 축을 조작합니다. 더 보기...
Header: | #include <QCategory3DAxis> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS DataVisualization) target_link_libraries(mytarget PRIVATE Qt6::DataVisualization) |
qmake: | QT += datavisualization |
이후: | QtDataVisualization 1.0 |
QML에서: | CategoryAxis3D |
상속합니다: | QAbstract3DAxis |
속성
- labels : QStringList
공공 기능
QCategory3DAxis(QObject *parent = nullptr) | |
virtual | ~QCategory3DAxis() |
QStringList | labels() const |
void | setLabels(const QStringList &labels) |
신호
void | labelsChanged() |
상세 설명
QCategory3축은 레이블을 지정할 수 있는 축을 제공합니다. 축은 축 범위를 설정하여 정의한 데이터 창 크기에 따라 동일한 크기의 카테고리로 나뉩니다.
카테고리 사이에 격자선이 표시되는 경우 격자선이 그려집니다. 레이블이 제공된 경우 카테고리 위치에 레이블이 그려집니다.
속성 문서
labels : QStringList
이 속성에는 카테고리에 적용된 축의 레이블이 저장됩니다.
카테고리보다 레이블 수가 적은 경우 나머지 레이블에는 레이블이 없습니다. 카테고리 레이블을 명시적으로 정의하지 않으면 그래프의 기본 계열의 데이터 행(또는 열) 레이블에서 레이블이 생성됩니다.
기능에 액세스합니다:
QStringList | labels() const |
void | setLabels(const QStringList &labels) |
알림 신호:
void | labelsChanged() |
멤버 함수 문서
[explicit]
QCategory3DAxis::QCategory3DAxis(QObject *parent = nullptr)
부모 parent 를 사용하여 카테고리 3D 축을 구성합니다.
[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.