In questa pagina

QLegendData Struct

La struttura QLegendData contiene le informazioni da visualizzare su un indicatore della legenda di un insieme. Per saperne di più...

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

Proprietà

Descrizione dettagliata

Le informazioni necessarie per stabilire un'associazione visiva tra un insieme e un indicatore includono proprietà quali il colore, il colore del bordo e il nome dell'insieme.

Vedi anche QLineSeries, QSplineSeries, QScatterSeries, QBarSeries e QXYSeries.

Documentazione sulle proprietà

borderColor : QColor

Questa proprietà definisce il colore del contorno di un indicatore della legenda.

color : QColor

Questa proprietà contiene il colore di un indicatore di legenda.

label : QString

Questa proprietà contiene il nome di un indicatore di leggenda.

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