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.
VizLayoutLegendProps interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature
export interface VizLayoutLegendProps
Import
import { VizLayoutLegendProps } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
children | React.ReactNode | (BETA) |
maxHeight | string | (BETA) |
maxWidth | string | (BETA) |
placement | LegendPlacement | (BETA) |
width | number | (BETA) |
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
children property
Signature
children: React.ReactNode;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
maxHeight property
Signature
maxHeight?: string;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
maxWidth property
Signature
maxWidth?: string;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
placement property
Signature
placement: LegendPlacement;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
width property
Signature
width?: number;