このページでは

QBarSeries Class

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

Header: #include <QBarSeries>
In QML: BarSeries
Inherits: QAbstractBarSeries
Status: Deprecated

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

パブリック関数

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

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

virtual QAbstractSeries::SeriesType type() const override

詳細な説明

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

グループ化された棒グラフの作成方法については、棒グラフの例を参照してください。

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

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

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

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

QObject であり、parent の子要素となる、空の棒グラフシリーズを作成します。

[virtual noexcept] QBarSeries::~QBarSeries()

チャートから棒グラフシリーズを削除します。

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