このページでは

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
bool isOptimized() const
void setCapStyle(Qt::PenCapStyle newCapStyle)
void setOptimized(bool optimized)
void setWidth(qreal newWidth)
qreal width() const

シグナル

void capStyleChanged()
void optimizedChanged(bool newOptimized)
void widthChanged()

詳細説明

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

プロパティの説明

capStyle : Qt::PenCapStyle

スプライン線のキャップスタイルを制御する。値はQt::PenCapStyle enum 値のいずれかです。デフォルト値は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.