mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
3.1 KiB
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;