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.
PanelEditorProps interface
Signature
export interface PanelEditorProps<T = any>
Import
import { PanelEditorProps } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
data | PanelData | Result set of panel queries |
onOptionsChange | (options: T, callback?: () => void) => void | Panel options change handler |
options | T | Panel options |
data property
Result set of panel queries
Signature
data?: PanelData;
onOptionsChange property
Panel options change handler
Signature
onOptionsChange: (options: T, callback?: () => void) => void;
options property
Panel options
Signature
options: T;