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

API Reference@grafana/dataPanelEditorProps

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;