VizLegendItem interface

Signature

  1. export interface VizLegendItem<T = any>

Import

  1. import { VizLegendItem } from '@grafana/ui';

Properties

PropertyTypeDescription
colorstring
dataT
disabledboolean
fieldIndexDataFrameFieldIndex
getDisplayValues() => DisplayValue[]
getItemKey() => string
gradientstring
labelstring
yAxisnumber

color property

Signature

  1. color?: string;

data property

Signature

  1. data?: T;

disabled property

Signature

  1. disabled?: boolean;

fieldIndex property

Signature

  1. fieldIndex?: DataFrameFieldIndex;

getDisplayValues property

Signature

  1. getDisplayValues?: () => DisplayValue[];

getItemKey property

Signature

  1. getItemKey?: () => string;

gradient property

Signature

  1. gradient?: string;

label property

Signature

  1. label: string;

yAxis property

Signature

  1. yAxis: number;