The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/developers/kinds/composable/statpanelcfg/schema-reference.md

5.8 KiB

keywords title
[grafana schema] 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 Description
PanelOptions object Yes

PanelOptions

It extends SingleStatBaseOptions.

Property Type Required Description
colorMode string Yes TODO docs
Possible values are: value, background, 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 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 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 Description
text VizTextDisplayOptions No TODO docs

VizTextDisplayOptions

TODO docs

Property Type Required Description
titleSize number No Explicit title text size
valueSize number No Explicit value text size

ReduceDataOptions

TODO docs

Property Type Required 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

VizTextDisplayOptions

TODO docs

Property Type Required Description
titleSize number No Explicit title text size
valueSize number No Explicit value text size

VizTextDisplayOptions

TODO docs

Property Type Required Description
titleSize number No Explicit title text size
valueSize number No Explicit value text size