+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "LegendItem"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## LegendItem interface
Signature
```typescript
export interface LegendItem
```
Import
```typescript
import { LegendItem } from '@grafana/ui';
```
Properties
| Property | Type | Description |
| --- | --- | --- |
| [color](#color-property) | string
| |
| [displayValues](#displayvalues-property) | DisplayValue[]
| |
| [isVisible](#isvisible-property) | boolean
| |
| [label](#label-property) | string
| |
| [yAxis](#yaxis-property) | number
| |
### color property
Signature
```typescript
color: string;
```
### displayValues property
Signature
```typescript
displayValues?: DisplayValue[];
```
### isVisible property
Signature
```typescript
isVisible: boolean;
```
### label property
Signature
```typescript
label: string;
```
### yAxis property
Signature
```typescript
yAxis: number;
```