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.