QLineSeries Class

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

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

QSplineSeries

パブリック関数

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

再実装パブリック関数

virtual QAbstractSeries::SeriesType type() const override

詳細説明

折れ線グラフは、直線で結ばれた一連のデータ点として情報を表示するために使用されます。

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

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

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