mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 21:12:37 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
79 lines
1.6 KiB
Markdown
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;
|
|
```
|