The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/data/panelprops.md

2.5 KiB

+++

-----------------------------------------------------------------------

Do not edit this file. It is automatically generated by API Documenter.

-----------------------------------------------------------------------

title = "PanelProps" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" draft = true +++

PanelProps interface

Signature

export interface PanelProps<T = any> 

Import

import { PanelProps } from '@grafana/data';

Properties

Property Type Description
data PanelData
height number
id number
onChangeTimeRange (timeRange: AbsoluteTimeRange) => void
onOptionsChange (options: T) => void
options T
renderCounter number
replaceVariables InterpolateFunction
timeRange TimeRange
timeZone TimeZone
transparent boolean
width number

data property

Signature

data: PanelData;

height property

Signature

height: number;

id property

Signature

id: number;

onChangeTimeRange property

Signature

onChangeTimeRange: (timeRange: AbsoluteTimeRange) => void;

onOptionsChange property

Signature

onOptionsChange: (options: T) => void;

options property

Signature

options: T;

renderCounter property

Signature

renderCounter: number;

replaceVariables property

Signature

replaceVariables: InterpolateFunction;

timeRange property

Signature

timeRange: TimeRange;

timeZone property

Signature

timeZone: TimeZone;

transparent property

Signature

transparent: boolean;

width property

Signature

width: number;