Menu
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Enterprise
Open source
VizLegendItem interface
Signature
typescript
export interface VizLegendItem Import
typescript
import { VizLegendItem } from '@grafana/ui';Properties
| Property | Type | Description |
|---|---|---|
| color | string | |
| disabled | boolean | |
| fieldIndex | DataFrameFieldIndex | |
| getDisplayValues | () => DisplayValue[] | |
| label | string | |
| yAxis | number |
color property
Signature
typescript
color: string;disabled property
Signature
typescript
disabled?: boolean;fieldIndex property
Signature
typescript
fieldIndex?: DataFrameFieldIndex;getDisplayValues property
Signature
typescript
getDisplayValues?: () => DisplayValue[];label property
Signature
typescript
label: string;yAxis property
Signature
typescript
yAxis: number;Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Choose a product
Viewing: v7.5
Find another version
Scroll for more