Nesta página

QLegendData Struct

A estrutura QLegendData contém informações a serem exibidas em um marcador de legenda de conjuntos. Mais...

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

Propriedades

Descrição detalhada

As informações necessárias para estabelecer uma associação visual entre um conjunto e um marcador incluem propriedades como cor, cor da borda e o nome do conjunto.

Veja também QLineSeries, QSplineSeries, QScatterSeries, QBarSeries e QXYSeries.

Documentação das propriedades

borderColor : QColor

Essa propriedade define a cor da borda de um marcador da legenda.

color : QColor

Essa propriedade armazena a cor de um marcador da legenda.

label : QString

Essa propriedade contém o nome de um marcador de legenda.

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