VizLayoutProps 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

  1. export interface VizLayoutProps

Import

  1. import { VizLayoutProps } from '@grafana/ui';

Properties

PropertyTypeDescription
children(width: number, height: number) => React.ReactNode(BETA)
heightnumber(BETA)
legendReact.ReactElement<VizLayoutLegendProps> | null(BETA)
widthnumber(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

  1. children: (width: number, height: number) => 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.

height property

Signature

  1. height: number;

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.

legend property

Signature

  1. legend?: React.ReactElement<VizLayoutLegendProps> | null;

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

  1. width: number;