このページでは

QSplineSeries Class

QSplineSeries は、データをスプライングラフで表示します。詳細...

ヘッダー: #include <QSplineSeries>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
QML内: SplineSeries
継承元: QXYSeries

プロパティ

パブリック関数

Qt::PenCapStyle capStyle() const
void setCapStyle(Qt::PenCapStyle newCapStyle)
void setWidth(qreal newWidth)
qreal width() const

シグナル

詳細な説明

このグラフは、グラフ内で定義されたすべての点を通る滑らかなスプラインセグメントを表示します。

プロパティのドキュメント

capStyle : Qt::PenCapStyle

スプライン線のキャップスタイルを制御します。値は、Qt::PenCapStyle 列挙型のいずれかです。デフォルト値はQt::SquareCap です。

アクセス関数:

Qt::PenCapStyle capStyle() const
void setCapStyle(Qt::PenCapStyle newCapStyle)

通知シグナル:

void capStyleChanged()

「Qt::PenCapStyle」も参照してください 。

width : qreal

スプライン線の幅(ピクセル単位)。デフォルト値は 2.0 です。

アクセス関数:

qreal width() const
void setWidth(qreal newWidth)

通知シグナル:

void widthChanged()

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