mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 13:22:28 +08:00

* new refactored panel docs * fixed links * removed xtra sharing link, added links to panel display option tasks * fixed typo * add aliases * incorporate PM feedback * intermediate commit to resolve merge conflict * final changes to resolve merge conflicts
62 lines
2.0 KiB
Markdown
62 lines
2.0 KiB
Markdown
+++
|
|
title = "Bar gauge"
|
|
description = "Bar gauge panel options"
|
|
keywords = ["grafana", "bar", "bar gauge"]
|
|
aliases = ["/docs/grafana/latest/features/panels/bar_gauge/", "/docs/grafana/latest/panels/visualizations/bar-gauge-panel/"]
|
|
weight = 200
|
|
+++
|
|
|
|
# Bar gauge
|
|
|
|
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.
|
|
|
|
{{< figure src="/static/img/docs/v66/bar_gauge_cover.png" max-width="1025px" caption="Stat panel" >}}
|
|
|
|
## Value options
|
|
|
|
Use the following options to refine how your visualization displays the value:
|
|
|
|
### Show
|
|
|
|
Choose how Grafana displays your data.
|
|
|
|
#### Calculate
|
|
|
|
Show a calculated value based on all rows.
|
|
|
|
- **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 [List of calculations]({{< relref "../panels/reference-calculation-types.md" >}}).
|
|
- **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.
|
|
- **Vertical -** Bars stretch vertically, bottom to top.
|
|
|
|
### 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.
|