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

API Reference@grafana/uiLegend

Legend variable

Legend variable

Signature

Legend: React.FC<LabelProps>

Import

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