이 페이지에서

QLegendData Struct

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

헤더: #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 : QColor

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

color : QColor

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

label : QString

이 속성은 범례 마커의 이름을 저장합니다.

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