QBarDataItem Class
QBarDataItem 클래스는 확인된 데이터를 막대 그래프에 추가할 수 있는 컨테이너를 제공합니다. 더 보기...
Header: | #include <QBarDataItem> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS DataVisualization) target_link_libraries(mytarget PRIVATE Qt6::DataVisualization) |
qmake: | QT += datavisualization |
이후: | QtDataVisualization 1.0 |
공용 함수
QBarDataItem() | |
QBarDataItem(float value) | |
QBarDataItem(float value, float angle) | |
QBarDataItem(const QBarDataItem &other) | |
~QBarDataItem() | |
float | rotation() const |
void | setRotation(float angle) |
void | setValue(float val) |
float | value() const |
QBarDataItem & | operator=(const QBarDataItem &other) |
상세 설명
막대 데이터 항목은 그래프에서 렌더링된 단일 막대에 대한 데이터를 보유합니다. 막대 데이터 프록시는 시각화를 위해 데이터를 QBarDataItem 인스턴스로 구문 분석합니다.
QBarDataProxy 및 Qt Data Visualization C++ Classes.
멤버 함수 문서
QBarDataItem::QBarDataItem()
막대 데이터 항목을 구성합니다.
QBarDataItem::QBarDataItem(float value)
value 값으로 막대 데이터 항목을 구성합니다.
QBarDataItem::QBarDataItem(float value, float angle)
value 값과 각도 angle 를 사용하여 막대 데이터 항목을 구성합니다.
QBarDataItem::QBarDataItem(const QBarDataItem &other)
other 의 복사본을 생성합니다.
[noexcept]
QBarDataItem::~QBarDataItem()
막대 데이터 항목을 삭제합니다.
float QBarDataItem::rotation() const
이 데이터 항목의 회전 각도(도)를 반환합니다.
setRotation()도 참조하세요 .
void QBarDataItem::setRotation(float angle)
이 데이터 항목의 회전 각도 angle 를 도 단위로 설정합니다.
rotation()도 참조하세요 .
void QBarDataItem::setValue(float val)
이 데이터 항목에 val 값을 설정합니다.
value()도 참조하세요 .
float QBarDataItem::value() const
이 데이터 항목의 값을 반환합니다.
setValue()도 참조하세요 .
QBarDataItem &QBarDataItem::operator=(const QBarDataItem &other)
이 객체에 other 의 복사본을 할당합니다.
© 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.