Files
Marcus Andersson cc3fc18076 Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

79 lines
1.6 KiB
Markdown

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "PanelModel"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## PanelModel interface
<b>Signature</b>
```typescript
export interface PanelModel<TOptions = any>
```
<b>Import</b>
```typescript
import { PanelModel } from '@grafana/data';
```
<b>Properties</b>
| Property | Type | Description |
| --- | --- | --- |
| [fieldConfig](#fieldconfig-property) | <code>FieldConfigSource</code> | Field options configuration |
| [id](#id-property) | <code>number</code> | ID of the panel within the current dashboard |
| [options](#options-property) | <code>TOptions</code> | Panel options |
| [pluginVersion](#pluginversion-property) | <code>string</code> | Version of the panel plugin |
| [scopedVars](#scopedvars-property) | <code>ScopedVars</code> | |
### fieldConfig property
Field options configuration
<b>Signature</b>
```typescript
fieldConfig: FieldConfigSource;
```
### id property
ID of the panel within the current dashboard
<b>Signature</b>
```typescript
id: number;
```
### options property
Panel options
<b>Signature</b>
```typescript
options: TOptions;
```
### pluginVersion property
Version of the panel plugin
<b>Signature</b>
```typescript
pluginVersion?: string;
```
### scopedVars property
<b>Signature</b>
```typescript
scopedVars?: ScopedVars;
```