QPercentBarSeries Class

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

Header: #include <QPercentBarSeries>
In QML: PercentBarSeries
Inherits: QAbstractBarSeries

パブリック関数

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

再実装パブリック関数

virtual QAbstractSeries::SeriesType type() const override

詳細説明

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

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

QBarSetQStackedBarSeriesQAbstractBarSeriesも参照

メンバ関数ドキュメント

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

parent の子であり、QObject である、空の垂直パーセントバー系列を構築する。

[virtual noexcept] QPercentBarSeries::~QPercentBarSeries()

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

[override virtual] QAbstractSeries::SeriesType QPercentBarSeries::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.