QSplineSeries Class

QSplineSeries 클래스는 데이터를 스플라인 차트로 표시합니다. 더 보기...

Header: #include <QSplineSeries>
In QML: SplineSeries
Inherits: QLineSeries

공용 함수

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.

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