Sur cette page

QLegendData Struct

La structure QLegendData contient des informations à afficher sur un marqueur de légende. Plus d'informations...

En-tête : #include <QLegendData>
CMake : find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake : QT += graphs
En QML : legendData

Propriétés

Description détaillée

Les informations nécessaires pour établir une association visuelle entre un ensemble et un marqueur comprennent des propriétés telles que la couleur, la couleur de la bordure et le nom de l'ensemble.

Voir également QLineSeries, QSplineSeries, QScatterSeries, QBarSeries, et QXYSeries.

Documentation sur les propriétés

borderColor : QColor

Cette propriété définit la couleur de la bordure d'un marqueur de légende.

color : QColor

Cette propriété définit la couleur d'un marqueur de légende.

label : QString

Cette propriété contient le nom d'un marqueur de légende.

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