API Reference@grafana/schemaVizLegendOptions

VizLegendOptions interface

Signature

export interface VizLegendOptions 

Import

import { VizLegendOptions } from '@grafana/schema';

Properties

Property Type Description
asTable boolean
calcs string[]
displayMode LegendDisplayMode
isVisible boolean
placement LegendPlacement
sortBy string
sortDesc boolean
width number

asTable property

Signature

asTable?: boolean;

calcs property

Signature

calcs: string[];

displayMode property

Signature

displayMode: LegendDisplayMode;

isVisible property

Signature

isVisible?: boolean;

placement property

Signature

placement: LegendPlacement;

sortBy property

Signature

sortBy?: string;

sortDesc property

Signature

sortDesc?: boolean;

width property

Signature

width?: number;