PanelModel interface

Signature

  1. export interface PanelModel<TOptions = any, TCustomFieldConfig = any>

Import

  1. import { PanelModel } from '@grafana/data';

Properties

PropertyTypeDescription
alertanyalerting v1 object
datasourceDataSourceRef | nullThe datasource used in all targets
descriptionstringDescription
fieldConfigFieldConfigSource<TCustomFieldConfig>Field options configuration
idnumberID of the panel within the current dashboard
optionsTOptionsPanel options
pluginVersionstringVersion of the panel plugin
targetsDataQuery[]The queries in a panel
titlestringPanel title

alert property

alerting v1 object

Signature

  1. alert?: any;

datasource property

The datasource used in all targets

Signature

  1. datasource?: DataSourceRef | null;

description property

Description

Signature

  1. description?: string;

fieldConfig property

Field options configuration

Signature

  1. fieldConfig: FieldConfigSource<TCustomFieldConfig>;

id property

ID of the panel within the current dashboard

Signature

  1. id: number;

options property

Panel options

Signature

  1. options: TOptions;

pluginVersion property

Version of the panel plugin

Signature

  1. pluginVersion?: string;

targets property

The queries in a panel

Signature

  1. targets?: DataQuery[];

title property

Panel title

Signature

  1. title?: string;