Menu
Grafana Cloud
Enterprise
Open source
Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
CanvasPanelCfg
Maturity: experimental
Version: 0.0
Property | Type | Required | Default | Description |
---|---|---|---|---|
BackgroundConfig | object | Yes | ||
BackgroundImageSize | string | Yes | Possible values are: original , contain , cover , fill , tile . | |
CanvasConnection | object | Yes | ||
CanvasElementOptions | object | Yes | ||
ConnectionCoordinates | object | Yes | ||
ConnectionPath | string | Yes | Possible values are: straight . | |
Constraint | object | Yes | ||
HorizontalConstraint | string | Yes | Possible values are: left , right , leftright , center , scale . | |
LineConfig | object | Yes | ||
Options | object | Yes | ||
Placement | object | Yes | ||
VerticalConstraint | string | Yes | Possible values are: top , bottom , topbottom , center , scale . |
BackgroundConfig
Property | Type | Required | Default | Description |
---|---|---|---|---|
color | ColorDimensionConfig | No | ||
image | ResourceDimensionConfig | No | Links to a resource (image/svg path) | |
size | string | No | Possible values are: original , contain , cover , fill , tile . |
ColorDimensionConfig
It extends BaseDimensionConfig.
Property | Type | Required | Default | Description |
---|---|---|---|---|
field | string | No | (Inherited from BaseDimensionConfig) fixed: T – will be added by each element | |
fixed | string | No |
BaseDimensionConfig
Property | Type | Required | Default | Description |
---|---|---|---|---|
field | string | No | fixed: T – will be added by each element |
ResourceDimensionConfig
Links to a resource (image/svg path)
It extends BaseDimensionConfig.
Property | Type | Required | Default | Description |
---|---|---|---|---|
mode | string | Yes | Possible values are: fixed , field , mapping . | |
field | string | No | (Inherited from BaseDimensionConfig) fixed: T – will be added by each element | |
fixed | string | No |
CanvasConnection
Property | Type | Required | Default | Description |
---|---|---|---|---|
path | string | Yes | Possible values are: straight . | |
source | ConnectionCoordinates | Yes | ||
target | ConnectionCoordinates | Yes | ||
color | ColorDimensionConfig | No | ||
size | ScaleDimensionConfig | No | ||
targetName | string | No |
ConnectionCoordinates
Property | Type | Required | Default | Description |
---|---|---|---|---|
x | number | Yes | ||
y | number | Yes |
ScaleDimensionConfig
It extends BaseDimensionConfig.
Property | Type | Required | Default | Description |
---|---|---|---|---|
max | number | Yes | ||
min | number | Yes | ||
field | string | No | (Inherited from BaseDimensionConfig) fixed: T – will be added by each element | |
fixed | number | No | ||
mode | string | No | Possible values are: linear , quad . |
CanvasElementOptions
Property | Type | Required | Default | Description |
---|---|---|---|---|
name | string | Yes | ||
type | string | Yes | ||
background | BackgroundConfig | No | ||
border | LineConfig | No | ||
config | No | TODO: figure out how to define this (element config(s)) | ||
connections | CanvasConnection[] | No | ||
constraint | Constraint | No | ||
placement | Placement | No |
Constraint
Property | Type | Required | Default | Description |
---|---|---|---|---|
horizontal | string | No | Possible values are: left , right , leftright , center , scale . | |
vertical | string | No | Possible values are: top , bottom , topbottom , center , scale . |
LineConfig
Property | Type | Required | Default | Description |
---|---|---|---|---|
color | ColorDimensionConfig | No | ||
width | number | No |
Placement
Property | Type | Required | Default | Description |
---|---|---|---|---|
bottom | number | No | ||
height | number | No | ||
left | number | No | ||
right | number | No | ||
top | number | No | ||
width | number | No |
Options
Property | Type | Required | Default | Description |
---|---|---|---|---|
inlineEditing | boolean | Yes | true | Enable inline editing |
root | object | Yes | The root element of canvas (frame), where all canvas elements are nested TODO: Figure out how to define a default value for this | |
showAdvancedTypes | boolean | Yes | true | Show all available element types |
Root
The root element of canvas (frame), where all canvas elements are nested TODO: Figure out how to define a default value for this
Property | Type | Required | Default | Description |
---|---|---|---|---|
elements | CanvasElementOptions[] | Yes | The list of canvas elements attached to the root element | |
name | string | Yes | Name of the root element | |
type | string | Yes | Type of root element (frame) Possible values are: frame . |
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:

Getting started with the Grafana LGTM Stack
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.

Getting started with Grafana dashboard design
In this webinar, you'll learn how to design stylish and easily accessible Grafana dashboards that tell a story.

Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.