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 : const QColor

このプロパティは、凡例マーカーの境界線の色を保持する。

color : const QColor

このプロパティは凡例マーカーの色を保持する。

label : const QString

このプロパティは、凡例マーカーの名前を保持する。

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