grafana/docs/sources/packages_api/data/panelprops.md
Marcus Andersson a2d741f60f
Docs: run the api-extractor on master to update docs (#23726)
* regenerated packages docs.

* fixed spelling issues.

* fixed spelling issues.
2020-04-21 10:41:50 +02:00

3.1 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
fieldConfig FieldConfigSource Panel fields configuration
height number
id number
onChangeTimeRange (timeRange: AbsoluteTimeRange) => void
onFieldConfigChange (config: FieldConfigSource) => void Enables panel field config manipulation
onOptionsChange (options: T) => void
options T
renderCounter number
replaceVariables InterpolateFunction
timeRange TimeRange
timeZone TimeZone
transparent boolean
width number

data property

Signature

data: PanelData;

fieldConfig property

Panel fields configuration

Signature

fieldConfig: FieldConfigSource;

height property

Signature

height: number;

id property

Signature

id: number;

onChangeTimeRange property

Signature

onChangeTimeRange: (timeRange: AbsoluteTimeRange) => void;

onFieldConfigChange property

Enables panel field config manipulation

Signature

onFieldConfigChange: (config: FieldConfigSource) => 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;