QLineSeries Class
QLineSeries 클래스는 데이터를 선 그래프로 표시합니다. 더 보기...
| Header: | #include <QLineSeries> |
| In QML: | LineSeries |
| Inherits: | QXYSeries |
| Inherited By: | |
| Status: | Deprecated |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
공개 함수
| QLineSeries(QObject *parent = nullptr) | |
| virtual | ~QLineSeries() |
재구현된 공용 함수
| virtual QAbstractSeries::SeriesType | type() const override |
상세 설명
선 차트는 정보를 직선으로 연결된 일련의 데이터 포인트로 표시하는 데 사용됩니다.

기본 선 차트를 만드는 방법은 간단합니다:
QLineSeries* series = new QLineSeries();
series->append(0, 6);
series->append(2, 4);
...
chart->addSeries(series);멤버 함수 설명서
[explicit] QLineSeries::QLineSeries(QObject *parent = nullptr)
parent 의 자식인 빈 시리즈 객체를 생성합니다. 이 시리즈 객체가 QChartView 또는 QChart 인스턴스에 추가되면 소유권이 이전됩니다.
[virtual noexcept] QLineSeries::~QLineSeries()
객체를 삭제합니다. QChartView 또는 QChart 인스턴스에 추가된 시리즈는 해당 인스턴스가 소유하며, 인스턴스가 소멸될 때 함께 삭제됩니다.
[override virtual] QAbstractSeries::SeriesType QLineSeries::type() const
QAbstractSeries::type 속성에 대한 액세스 함수를 재구현합니다.
© 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.