f3c0bc0749
kindsys: Adapt to new PanelCfg schema interface (#65297)
* kindsys: Adapt to new PanelCfg schema interface
* building locally
* Remove Panel prefix in cue files
* Regenerate
* Update imports
* fixup! Merge branch 'remove-panel-prefix' into sdboyer/redundant-panelcfg-prefixes
* Fix formatting
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Tania B <yalyna.ts@gmail.com>
(cherry picked from commit 33fd83f7e3)
# Conflicts:
# docs/sources/developers/kinds/core/dashboard/schema-reference.md
# docs/sources/developers/kinds/core/folder/schema-reference.md
# kinds/dashboard/dashboard_kind.cue
# packages/grafana-schema/src/raw/dashboard/x/dashboard_types.gen.ts
# pkg/kinds/dashboard/dashboard_spec_gen.go
# pkg/kinds/folder/folder_status_gen.go
Co-authored-by: sam boyer <sdboyer@grafana.com>
3.0 KiB
3.0 KiB
keywords, title
| keywords | title | ||
|---|---|---|---|
|
NodeGraphPanelCfg kind |
Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
NodeGraphPanelCfg
Maturity: experimental
Version: 0.0
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
ArcOption |
object | Yes | ||
EdgeOptions |
object | Yes | ||
NodeOptions |
object | Yes | ||
Options |
object | Yes |
ArcOption
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
color |
string | No | The color of the arc. | |
field |
string | No | Field from which to get the value. Values should be less than 1, representing fraction of a circle. |
EdgeOptions
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
mainStatUnit |
string | No | Unit for the main stat to override what ever is set in the data frame. | |
secondaryStatUnit |
string | No | Unit for the secondary stat to override what ever is set in the data frame. |
NodeOptions
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
arcs |
ArcOption[] | No | Define which fields are shown as part of the node arc (colored circle around the node). | |
mainStatUnit |
string | No | Unit for the main stat to override what ever is set in the data frame. | |
secondaryStatUnit |
string | No | Unit for the secondary stat to override what ever is set in the data frame. |
Options
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
edges |
EdgeOptions | No | ||
nodes |
NodeOptions | No |