QLegendData Struct

QLegendData 구조체에는 세트 범례 마커에 표시할 정보가 들어 있습니다. 더 보기...

Header: #include <QLegendData>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
QML에서: LegendData

속성

상세 설명

세트와 마커를 시각적으로 연결하는 데 필요한 정보에는 색상, 테두리 색상 및 세트 이름과 같은 속성이 포함됩니다.

QLineSeries, QSplineSeries, QScatterSeries, QBarSeries, QXYSeries참조하세요 .

속성 문서

borderColor : const QColor

이 속성은 범례 마커의 테두리 색상을 저장합니다.

color : const QColor

이 속성에는 범례 마커의 색상이 저장됩니다.

label : const QString

이 속성에는 범례 마커의 이름이 저장됩니다.

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