LineSeries QML Type

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

Import Statement: import QtGraphs
In C++: QLineSeries
Inherits:

XYSeries

속성

신호

상세 설명

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

LineSeries는 ScatterSeries 와 거의 동일한 API를 사용하므로 자세한 사용 예는 ScatterSeries 문서를 참조하세요.

ScatterSeries도 참조하세요 .

속성 문서

capStyle : Qt::PenCapStyle

선의 캡 스타일을 제어합니다. Qt.FlatCap , Qt.SquareCap 또는 Qt.RoundCap 중 하나로 설정합니다. 기본적으로 캡 스타일은 Qt.SquareCap입니다. 잘못된 값은 자동으로 기본값으로 설정됩니다.

Qt::PenCapStyle참조하십시오 .


pointDelegate : Component

지정된 QML 컴포넌트로 점을 표시합니다.

pointDelegate: Image {
    source: "images/happy_box.png"
}

width : real

선의 너비입니다. 기본적으로 너비는 2.0입니다. 0보다 작은 너비는 유효하지 않으며 자동으로 0으로 설정됩니다.


신호 문서

capStyleChanged()

이 신호는 선 시리즈 캡 스타일이 변경될 때 발생합니다.

참고: 해당 핸들러는 onCapStyleChanged 입니다.


widthChanged()

이 신호는 선 직렬 너비가 변경될 때 발생합니다.

참고: 해당 핸들러는 onWidthChanged 입니다.


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