QSplineSeries Class
QSplineSeries クラスは、データをスプライングラフとして表示します。詳細...
| Header: | #include <QSplineSeries> |
| In QML: | SplineSeries |
| Inherits: | QLineSeries |
| Status: | Deprecated |
このクラスは非推奨となっています。新しいコードでの使用は強くお勧めしません。
パブリック関数
| QSplineSeries(QObject *parent = nullptr) | |
| virtual | ~QSplineSeries() |
再実装されたパブリック関数
| virtual QAbstractSeries::SeriesType | type() const override |
詳細な説明
スプライン系列は、QPainterPath がスプラインを描画するために必要なデータポイントとセグメントの制御点を格納します。データが変更されると、制御点は自動的に計算されます。このアルゴリズムは、標準的なスプラインが描画できるように点を計算します。

以下のコードスニペットは、基本的なスプラインチャートの作成方法を示しています:
QSplineSeries* series = new QSplineSeries();
series->append(0, 6);
series->append(2, 4);
...
chart->addSeries(series);メンバ関数のドキュメント
[explicit] QSplineSeries::QSplineSeries(QObject *parent = nullptr)
parent の子となる、空のシリーズオブジェクトを作成します。このシリーズオブジェクトが QChart インスタンスに追加されると、所有権が引き継がれます。
[virtual noexcept] QSplineSeries::~QSplineSeries()
スプライン系列を削除します。
[override virtual] QAbstractSeries::SeriesType QSplineSeries::type() const
QLineSeries::type() const を再実装します。
© 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.