2023-01-23 07:58:49 +08:00
---
keywords:
- grafana
- schema
title: BarGaugePanelCfg kind
---
> Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
2023-02-02 23:12:31 +08:00
## BarGaugePanelCfg
2023-02-07 18:02:05 +08:00
#### Maturity: [experimental](../../../maturity/#experimental)
2023-02-02 23:12:31 +08:00
#### Version: 0.0
2023-01-23 07:58:49 +08:00
2023-03-23 01:42:28 +08:00
| Property | Type | Required | Default | Description |
|----------------|-------------------------|----------|---------|-------------|
| `PanelOptions` | [object ](#paneloptions ) | **Yes** | | |
2023-01-23 07:58:49 +08:00
2023-02-02 23:12:31 +08:00
### PanelOptions
It extends [SingleStatBaseOptions ](#singlestatbaseoptions ).
2023-03-23 01:42:28 +08:00
< < < < < < < HEAD
| Property | Type | Required | Default | Description |
|-----------------|-------------------------------------------------|----------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| `displayMode` | string | **Yes** | | Enum expressing the possible display modes< br /> for the bar gauge component of Grafana UI< br /> Possible values are: `basic` , `lcd` , `gradient` . |
| `minVizHeight` | uint32 | **Yes** | `10` | |
| `minVizWidth` | uint32 | **Yes** | `0` | |
| `showUnfilled` | boolean | **Yes** | `true` | |
| `orientation` | string | No | | *(Inherited from [SingleStatBaseOptions](#singlestatbaseoptions))* < br /> TODO docs< br /> Possible values are: `auto` , `vertical` , `horizontal` . |
| `reduceOptions` | [ReduceDataOptions ](#reducedataoptions ) | No | | *(Inherited from [SingleStatBaseOptions](#singlestatbaseoptions))* < br /> TODO docs |
| `text` | [VizTextDisplayOptions ](#viztextdisplayoptions ) | No | | *(Inherited from [SingleStatBaseOptions](#singlestatbaseoptions))* < br /> TODO docs |
=======
2023-02-02 23:12:31 +08:00
| Property | Type | Required | Description |
|-----------------|-------------------------------------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| `displayMode` | string | **Yes** | Enum expressing the possible display modes< br /> for the bar gauge component of Grafana UI< br /> Possible values are: `basic` , `lcd` , `gradient` . |
2023-02-10 19:40:50 +08:00
| `minVizHeight` | uint32 | **Yes** | Default: `10` . |
| `minVizWidth` | uint32 | **Yes** | Default: `0` . |
2023-02-02 23:12:31 +08:00
| `showUnfilled` | boolean | **Yes** | Default: `true` . |
2023-03-10 21:41:46 +08:00
| `valueMode` | string | **Yes** | Allows for the table cell gauge display type to set the gauge mode.< br /> Possible values are: `color` , `text` , `hidden` . |
2023-02-02 23:12:31 +08:00
| `orientation` | string | No | *(Inherited from [SingleStatBaseOptions](#singlestatbaseoptions))* < br /> TODO docs< br /> Possible values are: `auto` , `vertical` , `horizontal` . |
| `reduceOptions` | [ReduceDataOptions ](#reducedataoptions ) | No | *(Inherited from [SingleStatBaseOptions](#singlestatbaseoptions))* < br /> TODO docs |
| `text` | [VizTextDisplayOptions ](#viztextdisplayoptions ) | No | *(Inherited from [SingleStatBaseOptions](#singlestatbaseoptions))* < br /> TODO docs |
2023-03-23 01:42:28 +08:00
>>>>>>> main
2023-02-02 23:12:31 +08:00
### ReduceDataOptions
TODO docs
2023-03-23 01:42:28 +08:00
| 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 |
2023-02-02 23:12:31 +08:00
### SingleStatBaseOptions
TODO docs
It extends [OptionsWithTextFormatting ](#optionswithtextformatting ).
2023-03-23 01:42:28 +08:00
| Property | Type | Required | Default | Description |
|-----------------|-------------------------------------------------|----------|---------|------------------------------------------------------------------------------------------|
| `orientation` | string | **Yes** | | TODO docs< br /> Possible values are: `auto` , `vertical` , `horizontal` . |
| `reduceOptions` | [ReduceDataOptions ](#reducedataoptions ) | **Yes** | | TODO docs |
| `text` | [VizTextDisplayOptions ](#viztextdisplayoptions ) | No | | *(Inherited from [OptionsWithTextFormatting](#optionswithtextformatting))* < br /> TODO docs |
2023-02-02 23:12:31 +08:00
### OptionsWithTextFormatting
TODO docs
2023-03-23 01:42:28 +08:00
| Property | Type | Required | Default | Description |
|----------|-------------------------------------------------|----------|---------|-------------|
| `text` | [VizTextDisplayOptions ](#viztextdisplayoptions ) | No | | TODO docs |
2023-02-02 23:12:31 +08:00
### VizTextDisplayOptions
TODO docs
2023-03-23 01:42:28 +08:00
| Property | Type | Required | Default | Description |
|-------------|--------|----------|---------|--------------------------|
| `titleSize` | number | No | | Explicit title text size |
| `valueSize` | number | No | | Explicit value text size |
2023-02-02 23:12:31 +08:00
2023-01-23 07:58:49 +08:00