이 페이지에서

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)

parent 를 부모로 하는 3D 축 범주를 생성합니다.

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

카테고리 3D 축을 삭제합니다.

© 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.