Menu

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.

Enterprise Open source

PanelModel interface

Signature

typescript
export interface PanelModel<TOptions = any> 

Import

typescript
import { PanelModel } from '@grafana/data';

Properties

PropertyTypeDescription
fieldConfigFieldConfigSourceField options configuration
idnumberID of the panel within the current dashboard
optionsTOptionsPanel options
pluginVersionstringVersion of the panel plugin
scopedVarsScopedVars

fieldConfig property

Field options configuration

Signature

typescript
fieldConfig: FieldConfigSource;

id property

ID of the panel within the current dashboard

Signature

typescript
id: number;

options property

Panel options

Signature

typescript
options: TOptions;

pluginVersion property

Version of the panel plugin

Signature

typescript
pluginVersion?: string;

scopedVars property

Signature

typescript
scopedVars?: ScopedVars;