mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 22:49:25 +08:00

* baldm0mma/feature/solidOption/ update cue and ts types * baldm0mma/feature/solidOption/ update data structures * baldm0mma/feature/solidOption/ vizrepeater investigation * baldm0mma/feature/solidOption/ add buildGradientBackground * baldm0mma/feature/solidOption/ remove conlogs from fieldDisplay.ts * baldm0mma/feature/solidOption/ rem destruct in fielddisplay.ts * baldm0mma/feature/solidOption/ rem conlogs from bivaluelayout.tsx * baldm0mma/feature/solidOption/ rem conlogs in visrepeater * baldm0mma/feature/solidOption/ rem conlogs from statpanel.tsx * baldm0mma/feature/solidOption/ add annotations in BigValue.tsx * baldm0mma/feature/solidOption/ update cue * baldm0mma/feature/solidOption/ remove unused anno * baldm0mma/feature/solidOption/ update with toggle conditinal * Update module.tsx update anno * baldm0mma/feature/solidOption/ update annos * baldm0mma/feature/solidOption/ undo change * baldm0mma/featurew/solidOption/ add anno for boolean toggle in stat module * baldm0mma/featurew/solidOption/ update anno in BigValue.tsx for hasGradient * baldm0mma/featurew/solidOption/ updart default logic in bigValueLayout.tsx
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 | 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 . |
hasGradient |
boolean | No | Default: true . |
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 |