このページでは

QLegendData Struct

QLegendData 構造体には、セットの凡例マーカーに表示する情報が格納されています。詳細...

ヘッダー: #include <QLegendData>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
QMLでは: legendData

プロパティ

詳細な説明

セットとマーカーの間に視覚的な関連付けを行うために必要な情報には、色、枠の色、セット名などのプロパティが含まれます。

関連項目: QLineSeries 、QSplineSeries 、QScatterSeries 、QBarSeries 、およびQXYSeries 。

プロパティのドキュメント

borderColor : QColor

このプロパティは、凡例マーカーの枠線の色を指定します。

color : QColor

このプロパティには、凡例マーカーの色が格納されます。

label : QString

このプロパティには、凡例マーカーの名前が格納されています。

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