mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 04:42:35 +08:00

* Super hacky first pass on gen types * First sketchy pass at generated compo kinds in TS, grok-style * Merge fix * Create jenny for MajorsOrX for plugins * Re-generate files with imports * Delete invalid generated file * Fix cue * Update go.mod * Update schemas * Fix go-imports * Regenerate cue files --------- Co-authored-by: spinillos <selenepinillos@gmail.com>
4.9 KiB
4.9 KiB
keywords | title | ||
---|---|---|---|
|
StatPanelCfg kind |
Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
StatPanelCfg
Maturity: experimental
Version: 0.0
Property | Type | Required | Default | Description |
---|---|---|---|---|
Options |
object | Yes |
Options
It extends SingleStatBaseOptions.
Property | Type | Required | Default | Description |
---|---|---|---|---|
colorMode |
string | Yes | TODO docs Possible values are: value , background , background_solid , none . |
|
graphMode |
string | Yes | TODO docs Possible values are: none , line , area . |
|
justifyMode |
string | Yes | TODO docs Possible values are: auto , center . |
|
textMode |
string | Yes | TODO docs Possible values are: auto , value , value_and_name , name , none . |
|
orientation |
string | No | (Inherited from SingleStatBaseOptions) TODO docs Possible values are: auto , vertical , horizontal . |
|
reduceOptions |
ReduceDataOptions | No | (Inherited from SingleStatBaseOptions) TODO docs |
|
text |
VizTextDisplayOptions | No | (Inherited from SingleStatBaseOptions) TODO docs |
ReduceDataOptions
TODO docs
Property | Type | Required | Default | Description |
---|---|---|---|---|
calcs |
string[] | Yes | When !values, pick one value for the whole field | |
fields |
string | No | Which fields to show. By default this is only numeric fields | |
limit |
number | No | if showing all values limit | |
values |
boolean | No | If true show each row value |
SingleStatBaseOptions
TODO docs
It extends OptionsWithTextFormatting.
Property | Type | Required | Default | Description |
---|---|---|---|---|
orientation |
string | Yes | TODO docs Possible values are: auto , vertical , horizontal . |
|
reduceOptions |
ReduceDataOptions | Yes | TODO docs | |
text |
VizTextDisplayOptions | No | (Inherited from OptionsWithTextFormatting) TODO docs |
OptionsWithTextFormatting
TODO docs
Property | Type | Required | Default | Description |
---|---|---|---|---|
text |
VizTextDisplayOptions | No | TODO docs |
VizTextDisplayOptions
TODO docs
Property | Type | Required | Default | Description |
---|---|---|---|---|
titleSize |
number | No | Explicit title text size | |
valueSize |
number | No | Explicit value text size |