Menu

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.

Enterprise Open source

PanelEditorProps interface

Signature

typescript
export interface PanelEditorProps<T = any> 

Import

typescript
import { PanelEditorProps } from '@grafana/data';

Properties

PropertyTypeDescription
dataPanelDataResult set of panel queries
onOptionsChange(options: T, callback?: () => void) => voidPanel options change handler
optionsTPanel options

data property

Result set of panel queries

Signature

typescript
data?: PanelData;

onOptionsChange property

Panel options change handler

Signature

typescript
onOptionsChange: (options: T, callback?: () => void) => void;

options property

Panel options

Signature

typescript
options: T;