En esta página

QLegendData Struct

La estructura QLegendData contiene información para mostrar en un marcador de leyenda de conjuntos. Más...

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

Propiedades

Descripción detallada

La información necesaria para realizar una asociación visual entre un conjunto y un marcador incluye propiedades como el color, el color del borde y el nombre de un conjunto.

Véase también QLineSeries, QSplineSeries, QScatterSeries, QBarSeries, y QXYSeries.

Documentación de propiedades

borderColor : QColor

Esta propiedad contiene el color del borde de un marcador de leyenda.

color : QColor

Esta propiedad contiene el color de un marcador de leyenda.

label : QString

Esta propiedad contiene el nombre de un marcador de leyenda.

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