このページでは

QHorizontalBarSeries Class

QHorizontalBarSeries クラスは、一連のデータをカテゴリごとにグループ化した横棒グラフとして表示します。詳細...

Header: #include <QHorizontalBarSeries>
In QML: HorizontalBarSeries
Inherits: QAbstractBarSeries
Status: Deprecated

このクラスは非推奨です。新しいコードでの使用は強く推奨しません。

パブリック関数

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

再実装されたパブリック関数

virtual QAbstractSeries::SeriesType type() const override

詳細な説明

このクラスは、データをカテゴリごとにグループ化された一連の横棒として描画します。各バーセットから、カテゴリごとに 1 本のバーがシリーズに追加されます。

横棒グラフの作成方法については、「ウィジェット付きグラフ」ギャラリーを参照してください。

1月から6月までの5人の月別値をグループ化した横棒グラフ

QBarSet 、QBarSeries 、QPercentBarSeries 、QAbstractBarSeries 、QStackedBarSeries 、QHorizontalStackedBarSeries 、およびQHorizontalPercentBarSeriesも参照してください 。

メンバー関数のドキュメント

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

QObject であり、parent の子要素となる、空の水平バー・シリーズを構築します。

[virtual noexcept] QHorizontalBarSeries::~QHorizontalBarSeries()

グラフから横棒の系列を削除します。

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