* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
59 lines
1.3 KiB
Markdown
59 lines
1.3 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "PanelEditorProps"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## PanelEditorProps interface
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface PanelEditorProps<T = any>
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { PanelEditorProps } from '@grafana/data';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [data](#data-property) | <code>PanelData</code> | Result set of panel queries |
|
|
| [onOptionsChange](#onoptionschange-property) | <code>(options: T, callback?: () => void) => void</code> | Panel options change handler |
|
|
| [options](#options-property) | <code>T</code> | Panel options |
|
|
|
|
### data property
|
|
|
|
Result set of panel queries
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
data: PanelData;
|
|
```
|
|
|
|
### onOptionsChange property
|
|
|
|
Panel options change handler
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
onOptionsChange: (options: T, callback?: () => void) => void;
|
|
```
|
|
|
|
### options property
|
|
|
|
Panel options
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
options: T;
|
|
```
|