QLegendData Struct
QLegendData 结构包含要在图例标记上显示的信息。更多
头文件: | #include <QLegendData> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Graphs) target_link_libraries(mytarget PRIVATE Qt6::Graphs) |
qmake: | QT += graphs |
在 QML 中: | LegendData |
- QLegendData 是Qt Graphs C++ Classes for 2D 的一部分。
属性
- borderColor : const QColor
- color : const QColor
- label : const QString
另请参阅 QLineSeries,QSplineSeries,QScatterSeries,QBarSeries 和QXYSeries 。
© 2025 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.