이 페이지에서

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.