This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/uiVizLegendOptions

VizLegendOptions interface

Signature

export interface VizLegendOptions 

Import

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

Properties

Property Type Description
calcs string[]
displayMode LegendDisplayMode
placement LegendPlacement

calcs property

Signature

calcs: string[];

displayMode property

Signature

displayMode: LegendDisplayMode;

placement property

Signature

placement: LegendPlacement;