QHorizontalPercentBarSeries Class

QHorizontalPercentBarSeries クラスは、分類された一連のデータを各カテゴリのパーセンテージとして表示します。詳細...

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

パブリック関数

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

再実装パブリック関数

virtual QAbstractSeries::SeriesType type() const override

詳細説明

このクラスは、カテゴリごとに 1 つのバーを持つ、水平方向に積み重ねられた均一なサイズの一連のバーとしてデータを描画します。シリーズに追加された各バーセットは、各積み重ねバーに 1 つのセグメントを寄与します。セグメントのサイズは、スタック内のすべてのセグメントの合計値と比較したセグメント値のパーセンテージに対応します。値がゼロのバーは描画されません。

水平パーセント・バー・チャートの作成方法については、ウィジェットを使ったチャート・ギャラリーを参照してください。

QBarSet,QBarSeries,QPercentBarSeries,QAbstractBarSeries,QStackedBarSeries,QHorizontalStackedBarSeries, およびQHorizontalBarSeriesも参照

メンバ関数ドキュメント

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

QObjectparent の子である、空の水平パーセントバー系列を構築する。

[virtual noexcept] QHorizontalPercentBarSeries::~QHorizontalPercentBarSeries()

チャートから棒系列を削除する。

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

QAbstractSeries::type

水平パーセントバー系列を返します。

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