このページでは

QLineSeries Class

QLineSeries クラスは、データを折れ線グラフで表示します。詳細...

Header: #include <QLineSeries>
In QML: LineSeries
Inherits: QXYSeries
Inherited By:

QSplineSeries

Status: Deprecated

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

パブリック関数

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

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

virtual QAbstractSeries::SeriesType type() const override

詳細な説明

折れ線グラフは、情報を一連のデータポイントとして表示し、それらを直線で結ぶために使用されます。

データポイントを1本の線で結んだ折れ線グラフで、数値が急激に上下している

基本的な折れ線グラフの作成は簡単です:

QLineSeries* series = new QLineSeries();
series->append(0, 6);
series->append(2, 4);
...
chart->addSeries(series);

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

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

parent の子となる、空のシリーズオブジェクトを作成します。このシリーズオブジェクトが QChartView または QChart のインスタンスに追加されると、所有権が引き継がれます。

[virtual noexcept] QLineSeries::~QLineSeries()

オブジェクトを破棄します。QChartView または QChart のインスタンスに追加されたシリーズは、そのインスタンスによって管理されており、インスタンスが破棄されると削除されます。

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