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 2D C++ 类库的一部分。
属性
- borderColor : QColor
- color : QColor
- label : QString
另请参阅 QLineSeries 、QSplineSeries 、QScatterSeries 、QBarSeries 以及QXYSeries 。
© 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.