2020-11-24 01:54:34 -06:00
|
|
|
package panels
|
|
|
|
|
2020-11-25 00:43:09 -06:00
|
|
|
_panel: {
|
2020-11-24 01:54:34 -06:00
|
|
|
// Panel title.
|
|
|
|
title?: string
|
|
|
|
// Description.
|
|
|
|
description?: string
|
|
|
|
// Whether to display the panel without a background.
|
|
|
|
transparent: bool | *false
|
|
|
|
// Name of default datasource.
|
|
|
|
datasource?: string
|
|
|
|
// Grid position.
|
2020-11-25 00:43:09 -06:00
|
|
|
gridPos?: _gridPos
|
2020-11-24 01:54:34 -06:00
|
|
|
// Panel links.
|
2020-11-25 00:43:09 -06:00
|
|
|
links?: [..._panelLink]
|
2020-11-24 01:54:34 -06:00
|
|
|
// Name of template variable to repeat for.
|
|
|
|
repeat?: string
|
|
|
|
// Direction to repeat in if 'repeat' is set.
|
|
|
|
// "h" for horizontal, "v" for vertical.
|
|
|
|
repeatDirection: *"h" | "v"
|
|
|
|
// Panel targets - datasource and query configurations to use as
|
|
|
|
// a basis for vizualization.
|
|
|
|
targets?: [...{}]
|
|
|
|
}
|