+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "PanelProps" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++ ## PanelProps interface Signature ```typescript export interface PanelProps ``` Import ```typescript import { PanelProps } from '@grafana/data'; ``` Properties | Property | Type | Description | | --- | --- | --- | | [data](#data-property) | PanelData | Result set of panel queries | | [fieldConfig](#fieldconfig-property) | FieldConfigSource | Field options configuration | | [height](#height-property) | number | Current height of the panel | | [id](#id-property) | number | ID of the panel within the current dashboard | | [onChangeTimeRange](#onchangetimerange-property) | (timeRange: AbsoluteTimeRange) => void | Time range change handler | | [onFieldConfigChange](#onfieldconfigchange-property) | (config: FieldConfigSource) => void | Field config change handler | | [onOptionsChange](#onoptionschange-property) | (options: T) => void | Panel options change handler | | [options](#options-property) | T | Panel options | | [replaceVariables](#replacevariables-property) | InterpolateFunction | Template variables interpolation function | | [timeRange](#timerange-property) | TimeRange | Time range of the current dashboard | | [timeZone](#timezone-property) | TimeZone | Time zone of the current dashboard | | [transparent](#transparent-property) | boolean | Indicathes whether or not panel should be rendered transparent | | [width](#width-property) | number | Current width of the panel | ### data property Result set of panel queries Signature ```typescript data: PanelData; ``` ### fieldConfig property Field options configuration Signature ```typescript fieldConfig: FieldConfigSource; ``` ### height property Current height of the panel Signature ```typescript height: number; ``` ### id property ID of the panel within the current dashboard Signature ```typescript id: number; ``` ### onChangeTimeRange property Time range change handler Signature ```typescript onChangeTimeRange: (timeRange: AbsoluteTimeRange) => void; ``` ### onFieldConfigChange property Field config change handler Signature ```typescript onFieldConfigChange: (config: FieldConfigSource) => void; ``` ### onOptionsChange property Panel options change handler Signature ```typescript onOptionsChange: (options: T) => void; ``` ### options property Panel options Signature ```typescript options: T; ``` ### replaceVariables property Template variables interpolation function Signature ```typescript replaceVariables: InterpolateFunction; ``` ### timeRange property Time range of the current dashboard Signature ```typescript timeRange: TimeRange; ``` ### timeZone property Time zone of the current dashboard Signature ```typescript timeZone: TimeZone; ``` ### transparent property Indicathes whether or not panel should be rendered transparent Signature ```typescript transparent: boolean; ``` ### width property Current width of the panel Signature ```typescript width: number; ```