legendData QML Value Type | Qt Graphs | Qt 6.11.2
Description: The legendData value type contains information to display on a sets legend marker.

- Qt 6.11
- Qt Graphs
- QML Types
- QtGraphs
- legendData
- Qt Graphs | Commercial or GPLv3

# legendData QML Value Type

The legendData value type contains information to display on a sets legend marker. More...

Import Statement: | `import QtGraphs`
In C++: | QLegendData

## Properties

- borderColor : color
- color : color
- label : string

## Detailed Description

The information needed to make a visual association between a set and a marker include properties such as color, border color, and a name of a set.

Note: Before Qt 6.10, this value type was only provided as an anonymous type.

## Property Documentation

### borderColor : color

A border color of a legend marker.

### color : color

A legend marker's color.

### label : string

A name of a legend marker.