이 페이지에서

QHorizontalPercentBarSeries Class

QHorizontalPercentBarSeries 클래스는 범주별로 분류된 데이터 시계를 각 범주의 백분율로 표시합니다. 더 보기...

Header: #include <QHorizontalPercentBarSeries>
In QML: HorizontalPercentBarSeries
Inherits: QAbstractBarSeries
Status: Deprecated

이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.

공개 함수

QHorizontalPercentBarSeries(QObject *parent = nullptr)
virtual ~QHorizontalPercentBarSeries()

재구현된 공용 함수

virtual QAbstractSeries::SeriesType type() const override

상세 설명

이 클래스는 데이터를 각 범주당 하나의 막대로, 균일한 크기의 수평으로 쌓인 막대 시리즈 형태로 그립니다. 시리즈에 추가된 각 막대 세트는 쌓인 막대 하나에 하나의 세그먼트를 기여합니다. 세그먼트 크기는 쌓인 막대 내 모든 세그먼트의 총값에 비해 해당 세그먼트 값이 차지하는 백분율에 해당합니다. 값이 0인 막대는 그려지지 않습니다.

수평 백분율 막대 차트를 만드는 방법은 ‘위젯이 포함된 차트’ 갤러리를 참조하십시오.

5개 그룹으로 나뉘어 각 달의 막대가 100%를 채우는 수평형 백분율 막대 차트

QBarSet, QBarSeries, QPercentBarSeries, QAbstractBarSeries, QStackedBarSeries, QHorizontalStackedBarSeries 및 QHorizontalBarSeries도 참조하십시오 .

멤버 함수 문서

[explicit] QHorizontalPercentBarSeries::QHorizontalPercentBarSeries(QObject *parent = nullptr)

QObject 인 빈 수평 백분율 막대 차트 시리즈를 생성하며, 이 시리즈는 parent 의 자식 요소입니다.

[virtual noexcept] QHorizontalPercentBarSeries::~QHorizontalPercentBarSeries()

차트에서 막대 차트 시리즈를 제거합니다.

[override virtual] QAbstractSeries::SeriesType QHorizontalPercentBarSeries::type() const

QAbstractSeries::type 속성에 대한 액세스 함수를 다시 구현합니다.

가로 방향 백분율 막대 차트 시리즈를 반환합니다.

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