QLineSeries Class

QLineSeries 클래스는 데이터를 선 그래프로 표시합니다. 더 보기...

Header: #include <QLineSeries>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
QML에서: LineSeries
상속합니다: QXYSeries

공용 함수

Qt::PenCapStyle capStyle() const
QPointF dataPointCoordinatesAt(qreal x, qreal y)
void setCapStyle(Qt::PenCapStyle newCapStyle)
void setWidth(qreal newWidth)
qreal width() const

Signals

상세 설명

선 그래프는 정보를 직선으로 연결된 일련의 데이터 포인트로 표시하는 데 사용됩니다.

멤버 함수 문서

[invokable] QPointF QLineSeries::dataPointCoordinatesAt(qreal x, qreal y)

데이터 포인트 좌표로 변환된 xy 렌더링 좌표를 반환합니다.

참고: 이 함수는 메타 객체 시스템과 QML을 통해 호출할 수 있습니다. Q_INVOKABLE 을 참조하세요.

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