2020-05-11 09:32:09 -05:00
+++
2022-05-17 10:24:11 -05:00
aliases = ["/docs/grafana/latest/features/panels/bar_gauge/", "/docs/grafana/latest/panels/visualizations/bar-gauge-panel/", "/docs/grafana/latest/visualizations/bar-gauge-panel/"]
2021-06-03 09:42:02 -05:00
description = "Bar gauge panel options"
2020-05-11 09:32:09 -05:00
keywords = ["grafana", "bar", "bar gauge"]
2022-05-17 10:24:11 -05:00
title = "Bar gauge"
2020-05-15 15:58:39 -05:00
weight = 200
2020-05-11 09:32:09 -05:00
+++
2021-06-03 09:42:02 -05:00
# Bar gauge
2020-05-11 09:32:09 -05:00
The bar gauge simplifies your data by reducing every field to a single value. You choose how Grafana calculates the reduction.
This panel can show one or more bar gauges depending on how many series, rows, or columns your query returns.
2021-05-28 04:27:40 -05:00
{{< figure src = "/static/img/docs/v66/bar_gauge_cover.png" max-width = "1025px" caption = "Stat panel" > }}
2020-05-11 09:32:09 -05:00
2021-06-03 09:42:02 -05:00
## Value options
2020-05-11 09:32:09 -05:00
2021-06-03 09:42:02 -05:00
Use the following options to refine how your visualization displays the value:
2020-09-16 02:38:28 -05:00
2021-06-03 09:42:02 -05:00
### Show
2020-05-11 09:32:09 -05:00
2021-06-03 09:42:02 -05:00
Choose how Grafana displays your data.
2021-08-06 08:52:36 -05:00
2021-06-03 09:42:02 -05:00
#### Calculate
2020-05-11 09:32:09 -05:00
2021-06-03 09:42:02 -05:00
Show a calculated value based on all rows.
2020-05-11 09:32:09 -05:00
2022-04-21 08:16:22 -05:00
- **Calculation -** Select a reducer function that Grafana will use to reduce many fields to a single value. For a list of available calculations, refer to [Calculation types ]({{< relref "../panels/calculation-types.md" >}} ).
2021-06-03 09:42:02 -05:00
- **Fields -** Select the fields display in the panel.
#### All values
Show a separate stat for every row. If you select this option, then you can also limit the number of rows to display.
- **Limit -** The maximum number of rows to display. Default is 5,000.
- **Fields -** Select the fields display in the panel.
## Bar gauge options
Adjust how the bar gauge is displayed.
### Orientation
Choose a stacking direction.
- **Auto -** Grafana selects what it thinks is the best orientation.
- **Horizontal -** Bars stretch horizontally, left to right.
2021-07-01 05:38:41 -05:00
- **Vertical -** Bars stretch vertically, bottom to top.
2021-06-03 09:42:02 -05:00
### Display mode
Choose a display mode.
- **Gradient -** Threshold levels define a gradient.
- **Retro LCD -** The gauge is split into small cells that are lit or unlit.
- **Basic -** Single color based on the matching threshold.
### Show unfilled area
Select this if you want to render the unfilled region of the bars as dark gray. Not applicable to Retro LCD display mode.
2022-03-29 05:21:45 -05:00
### Min width
Limit the minimum width of the bar column in the vertical direction.
Automatically show x-axis scrollbar when there is a large amount of data.
### Min height
Limit the minimum height of the bar row in the horizontal direction.
Automatically show y-axis scrollbar when there is a large amount of data.