BarCategoryAxis QML Type
차트의 축에 카테고리를 추가합니다. 더 보기...
Import Statement: | import QtCharts 2.8 |
In C++: | QBarCategoryAxis |
Inherits: |
속성
- categories : QStringList
- count : int
- max : string
- min : string
신호
- rangeChanged(string min, string max)
방법
- void clear()
상세 설명
바 카테고리 축 유형은 눈금선, 격자선 및 음영이 있는 축선을 표시하도록 설정할 수 있습니다. 카테고리는 눈금 사이에 그려집니다. 선 시리즈와 함께 사용할 수도 있습니다.
다음 QML 스니펫은 BarCategoryAxis를 사용하는 방법을 보여줍니다:
ChartView { BarCategoryAxis { id: categoryAxis categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun" ] } // Add a few series... }
속성 문서
categories : QStringList |
축의 카테고리입니다.
count : int |
축의 카테고리 수입니다.
max : string |
축의 최대값입니다.
min : string |
축의 최소값입니다.
신호 문서
이 신호는 축의 min 또는 max 값이 변경될 때 발생합니다.
해당 신호 핸들러는 onRangeChanged
입니다.
참고: 해당 핸들러는 onRangeChanged
입니다.
메서드 문서
void clear() |
모든 카테고리를 제거합니다. 축 범위의 최대값과 최소값을 QString::null로 설정합니다.
© 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.