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.
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 |
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;