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.
LegendItem interface
Signature
export interface LegendItem
Import
import { LegendItem } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
color | string | |
displayValues | DisplayValue[] | |
isVisible | boolean | |
label | string | |
yAxis | number |
color property
Signature
color: string;
displayValues property
Signature
displayValues?: DisplayValue[];
isVisible property
Signature
isVisible: boolean;
label property
Signature
label: string;
yAxis property
Signature
yAxis: number;