# Bar Gauge Panel

**URL:** https://community.grafana.com/c/support/bar-gauge/53.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [About the Bar Gauge Panel category](https://community.grafana.com/t/about-the-bar-gauge-panel-category/65115)

<div class="topic-metadata">

**Author:** [@anon70503803](https://community.grafana.com/u/anon70503803)\
**Replies:** 0\
**Last updated:** [May 3, 2022, 11:11pm UTC](https://community.grafana.com/t/about-the-bar-gauge-panel-category/65115 "2022-05-03T23:11:41Z")

</div>

Documentation about Bar Gauge Panel Visualization:

---

## [Bar Gauge doesn't update width when variable is changed and all updated values are 0](https://community.grafana.com/t/bar-gauge-doesnt-update-width-when-variable-is-changed-and-all-updated-values-are-0/66734)

<div class="topic-metadata">

**Author:** [@rach1tdani](https://community.grafana.com/u/rach1tdani)\
**Replies:** 2\
**Last updated:** [August 1, 2025, 10:07am UTC](https://community.grafana.com/t/bar-gauge-doesnt-update-width-when-variable-is-changed-and-all-updated-values-are-0/66734 "2025-08-01T10:07:23Z")

</div>

What Grafana version and what operating system are you using? Version 7.5.15 and Windows. What are you trying to achieve? Bar Gauge width should update when variable is changed and all values are 0. How are you…

---

## [Single row label is not displaying in the Bar gauge visualization](https://community.grafana.com/t/single-row-label-is-not-displaying-in-the-bar-gauge-visualization/102547)

<div class="topic-metadata">

**Author:** [@prathameshppatil786](https://community.grafana.com/u/prathameshppatil786)\
**Replies:** 4\
**Last updated:** [July 22, 2025, 4:06pm UTC](https://community.grafana.com/t/single-row-label-is-not-displaying-in-the-bar-gauge-visualization/102547 "2025-07-22T16:06:12Z")

</div>

I’m using Grafana version 10.0.2 on Windows 10 operating system. I’m using the Bar gauge in my dashboard and for single row it’s not showing the labels. As you can see in the below screenshot for multiple rows it’s show…

---

## [Change Bar Colors in a Grafana Bar Gauge Dynamically Based on a Field (No Manual Overrides)](https://community.grafana.com/t/change-bar-colors-in-a-grafana-bar-gauge-dynamically-based-on-a-field-no-manual-overrides/138185)

<div class="topic-metadata">

**Author:** [@andreas69](https://community.grafana.com/u/andreas69)\
**Replies:** 1\
**Last updated:** [June 16, 2025, 10:09am UTC](https://community.grafana.com/t/change-bar-colors-in-a-grafana-bar-gauge-dynamically-based-on-a-field-no-manual-overrides/138185 "2025-06-16T10:09:56Z")

</div>

Hi everyone, I’m working on a Bar Gauge panel in Grafana that displays the top 10 most frequent stops. The data comes from the following SQL query : select count(\*), "machine", "Message", "type" from union\_with\_active\_…

---

## [Optimalization of transformation in Bar Guages](https://community.grafana.com/t/optimalization-of-transformation-in-bar-guages/151133)

<div class="topic-metadata">

**Author:** [@ksmigiel](https://community.grafana.com/u/ksmigiel)\
**Replies:** 2\
**Last updated:** [May 26, 2025, 9:54am UTC](https://community.grafana.com/t/optimalization-of-transformation-in-bar-guages/151133 "2025-05-26T09:54:21Z")

</div>

What Grafana version and what operating system are you using? 11.6.1 What are you trying to achieve? I am wondering if it can be done differently with better optimization. How are you trying to achieve it? 1) Labels …

---

## [Is there any way to dynamically set multiple thresholds using multiple queries?](https://community.grafana.com/t/is-there-any-way-to-dynamically-set-multiple-thresholds-using-multiple-queries/88308)

<div class="topic-metadata">

**Author:** [@ccbell](https://community.grafana.com/u/ccbell)\
**Replies:** 6\
**Last updated:** [April 26, 2025, 9:11am UTC](https://community.grafana.com/t/is-there-any-way-to-dynamically-set-multiple-thresholds-using-multiple-queries/88308 "2025-04-26T09:11:32Z")

</div>

What Grafana version and what operating system are you using? 8.3 on Linux What are you trying to achieve? I’m trying to retrieve multiple configuration values from a Redis data source to be used in my gauges. I’v…

---

## [Bar gauge panel with crusor](https://community.grafana.com/t/bar-gauge-panel-with-crusor/149002)

<div class="topic-metadata">

**Author:** [@jeanchristophecalari](https://community.grafana.com/u/jeanchristophecalari)\
**Replies:** 4\
**Last updated:** [April 26, 2025, 7:13am UTC](https://community.grafana.com/t/bar-gauge-panel-with-crusor/149002 "2025-04-26T07:13:57Z")

</div>

Hello! Sorry for my bad english :see\_no\_evil\_monkey: I’m looking to make a bar gauge like this pH meter :slight\_smile: I know how to add last value but I can’t find what option I need to choose to obtain this …

---

## [Order Override Field Name in Bar Gauge View](https://community.grafana.com/t/order-override-field-name-in-bar-gauge-view/137635)

<div class="topic-metadata">

**Author:** [@linpyae95](https://community.grafana.com/u/linpyae95)\
**Replies:** 5\
**Last updated:** [December 5, 2024, 10:03am UTC](https://community.grafana.com/t/order-override-field-name-in-bar-gauge-view/137635 "2024-12-05T10:03:57Z")

</div>

I have this Bar Gauge Panel with override field. I want them to be in the order which is SOC\<100%, SOC\<75%, SOC\<50%, SOC\<25%. Is it possible to achieve this in Grafana or is there a alternative way to achieve this? I’…

---

## [Dashboard Bar Gauge](https://community.grafana.com/t/dashboard-bar-gauge/136423)

<div class="topic-metadata">

**Author:** [@joergkauke](https://community.grafana.com/u/joergkauke)\
**Replies:** 6\
**Last updated:** [November 21, 2024, 8:24am UTC](https://community.grafana.com/t/dashboard-bar-gauge/136423 "2024-11-21T08:24:58Z")

</div>

Dear Community, dear pros. I just started with Grafana and try to using it for system metrics like CPU, memory and so on. The data comes from Prometheus. My problem is to get a Bar Gauge dashboard for all my CPU threa…

---

## [Bar Gauge Panel with 0 in the middle, negative left](https://community.grafana.com/t/bar-gauge-panel-with-0-in-the-middle-negative-left/130285)

<div class="topic-metadata">

**Author:** [@DominikReber](https://community.grafana.com/u/DominikReber)\
**Replies:** 2\
**Last updated:** [October 26, 2024, 5:24pm UTC](https://community.grafana.com/t/bar-gauge-panel-with-0-in-the-middle-negative-left/130285 "2024-10-26T17:24:23Z")

</div>

Hello I want to create a bar gauge where 0 is in the middle (excess power in a PV), -10000 on the left and +10000 on the right. But - when I have a value of 0, I want the bar to show nothing. When I have -5000, I want …

---

## [Connection Refused Error Despite No MySQL Usage](https://community.grafana.com/t/connection-refused-error-despite-no-mysql-usage/133876)

<div class="topic-metadata">

**Author:** [@hdstockimages](https://community.grafana.com/u/hdstockimages)\
**Replies:** 0\
**Last updated:** [October 9, 2024, 7:54am UTC](https://community.grafana.com/t/connection-refused-error-despite-no-mysql-usage/133876 "2024-10-09T07:54:38Z")

</div>

Hi everyone, This morning, I received an alert from Grafana Cloud stating, “failed to build query ‘current\_service\_state’: dial tcp :3306: connect: connection refused.” Interestingly, we aren’t using a MySQL database in…

---

## [Adding units to histogram](https://community.grafana.com/t/adding-units-to-histogram/132598)

<div class="topic-metadata">

**Author:** [@thediveo](https://community.grafana.com/u/thediveo)\
**Replies:** 3\
**Last updated:** [September 23, 2024, 6:37pm UTC](https://community.grafana.com/t/adding-units-to-histogram/132598 "2024-09-23T18:37:53Z")

</div>

Grafana v11.2.0 How to add units to histogram bucket upper limits of a Prometheus histogram with log2 bucket organization? (bar gauge; query data source option format:heatmap) I want to display a Prometheus-originat…

---

## [Bar graph - Label position?](https://community.grafana.com/t/bar-graph-label-position/78280)

<div class="topic-metadata">

**Author:** [@grafdading](https://community.grafana.com/u/grafdading)\
**Replies:** 3\
**Last updated:** [August 5, 2024, 2:11am UTC](https://community.grafana.com/t/bar-graph-label-position/78280 "2024-08-05T02:11:48Z")

</div>

Currenty stacked Bar Graphes dont show tooltip and show the Value above each bar part. That make it impossible to read lots of those values. So what Im searching for: Adjust the Position of the value, so that the Valu…

---

## [Top 20 paths sorted by latency](https://community.grafana.com/t/top-20-paths-sorted-by-latency/127100)

<div class="topic-metadata">

**Author:** [@desecho](https://community.grafana.com/u/desecho)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 1:36pm UTC](https://community.grafana.com/t/top-20-paths-sorted-by-latency/127100 "2024-07-25T13:36:09Z")

</div>

I am using Grafana v10.4.1 (d94d597d84) set up on k8s. I am trying to see the top 20 paths sorted by latency. I am having troubles using sort\_desc and topk. It’s not working, the results it shows are not sorted and not …

---

## [Reducing Series to First Value](https://community.grafana.com/t/reducing-series-to-first-value/125920)

<div class="topic-metadata">

**Author:** [@emilioserra](https://community.grafana.com/u/emilioserra)\
**Replies:** 5\
**Last updated:** [July 11, 2024, 4:34pm UTC](https://community.grafana.com/t/reducing-series-to-first-value/125920 "2024-07-11T16:34:42Z")

</div>

What Grafana version and what operating system are you using? v11.1.0 on a raspberry debian bookworm Maybe this is too simple to see a straightforward solution: I would like to display the balance (last - first value) …

---

## [Sort results in bar gauge not working (prometheus metrics)](https://community.grafana.com/t/sort-results-in-bar-gauge-not-working-prometheus-metrics/110627)

<div class="topic-metadata">

**Author:** [@andreamorello1](https://community.grafana.com/u/andreamorello1)\
**Replies:** 1\
**Last updated:** [June 2, 2024, 4:52pm UTC](https://community.grafana.com/t/sort-results-in-bar-gauge-not-working-prometheus-metrics/110627 "2024-06-02T16:52:56Z")

</div>

Hi, I’m trying to sort results in my bar gauge panel in descending order. but grafana is ignoring it why?

---

## [Display time in bar gauge](https://community.grafana.com/t/display-time-in-bar-gauge/119901)

<div class="topic-metadata">

**Author:** [@Gerdofal](https://community.grafana.com/u/Gerdofal)\
**Replies:** 5\
**Last updated:** [April 22, 2024, 7:13pm UTC](https://community.grafana.com/t/display-time-in-bar-gauge/119901 "2024-04-22T19:13:39Z")

</div>

What are you trying to achieve? I’m using Grafana via grafana.com and I have data that looks like this: when I put it in the bar gauge it looks like this I would like the bar length to indicate a ratio of how lon…

---

## [10 metrics - two bars as a stacked bar with all metrics](https://community.grafana.com/t/10-metrics-two-bars-as-a-stacked-bar-with-all-metrics/117351)

<div class="topic-metadata">

**Author:** [@liquidtest88](https://community.grafana.com/u/liquidtest88)\
**Replies:** 4\
**Last updated:** [March 20, 2024, 7:57am UTC](https://community.grafana.com/t/10-metrics-two-bars-as-a-stacked-bar-with-all-metrics/117351 "2024-03-20T07:57:09Z")

</div>

Hello, I’am using Grafana v10.4.0 version. I have an issue with creating a bar gauge-ish or bar chart (vertical one). I think there are around 11 metrics and I want to create 2 bars with all of those metrics. For Exa…

---

## [Unable to get more than one Gradient gauge in a Table](https://community.grafana.com/t/unable-to-get-more-than-one-gradient-gauge-in-a-table/80768)

<div class="topic-metadata">

**Author:** [@viqualiz](https://community.grafana.com/u/viqualiz)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 8:33pm UTC](https://community.grafana.com/t/unable-to-get-more-than-one-gradient-gauge-in-a-table/80768 "2024-03-14T20:33:17Z")

</div>

Hello, I’m trying to build a table panel which give me an overview of all containers running in my network. I want to visualize some metrics (Uptime, CPU, RAM) as a gradient gauge where the gauge would be filled accord…

---

## [Usage of Bar Gauge with SQL data](https://community.grafana.com/t/usage-of-bar-gauge-with-sql-data/115074)

<div class="topic-metadata">

**Author:** [@shionigami](https://community.grafana.com/u/shionigami)\
**Replies:** 6\
**Last updated:** [February 28, 2024, 1:43pm UTC](https://community.grafana.com/t/usage-of-bar-gauge-with-sql-data/115074 "2024-02-28T13:43:54Z")

</div>

Hi. I am trying to create a bar gauge dashboard with data coming from a PostGreSQL DB. The goal is to show how long takes some operation with a tool. I am able to show the total time as below: But my goal would be…

---

## [BarGauge status with Total Time for PACKML application](https://community.grafana.com/t/bargauge-status-with-total-time-for-packml-application/110848)

<div class="topic-metadata">

**Author:** [@JLLN28](https://community.grafana.com/u/JLLN28)\
**Replies:** 0\
**Last updated:** [December 27, 2023, 5:51pm UTC](https://community.grafana.com/t/bargauge-status-with-total-time-for-packml-application/110848 "2023-12-27T17:51:23Z")

</div>

Hi, I want to implement production dashboard. I have a machine I register every 1sec the status. I want to do a dashboard where I can select beteween 2 dates and display in this selection how many time machine is in e…

---

## [How can I change the text of the label in the Bar Gauge Panel?](https://community.grafana.com/t/how-can-i-change-the-text-of-the-label-in-the-bar-gauge-panel/110736)

<div class="topic-metadata">

**Author:** [@resuahnitram4](https://community.grafana.com/u/resuahnitram4)\
**Replies:** 1\
**Last updated:** [December 27, 2023, 4:54pm UTC](https://community.grafana.com/t/how-can-i-change-the-text-of-the-label-in-the-bar-gauge-panel/110736 "2023-12-27T16:54:13Z")

</div>

Currently, in the bar gauge, the text of the label is displayed as the field name from InfluxDB. How can I customize the text of the label? Grafana v10.2.3

---

## [Config from query result threshold in repeat panel](https://community.grafana.com/t/config-from-query-result-threshold-in-repeat-panel/109244)

<div class="topic-metadata">

**Author:** [@shrekars](https://community.grafana.com/u/shrekars)\
**Replies:** 1\
**Last updated:** [December 8, 2023, 3:54pm UTC](https://community.grafana.com/t/config-from-query-result-threshold-in-repeat-panel/109244 "2023-12-08T15:54:55Z")

</div>

Hello there, I am using Grafana 10.2.2 and trying to set up a Bar Gauge panel with Thresholds configured from query . I am using Prometheus datasource. I have 2 queries : first to display daily cost and the second to g…

---

## [How to apply "Config from query" transform to multirow queries?](https://community.grafana.com/t/how-to-apply-config-from-query-transform-to-multirow-queries/81354)

<div class="topic-metadata">

**Author:** [@povilasid](https://community.grafana.com/u/povilasid)\
**Replies:** 2\
**Last updated:** [November 13, 2023, 8:08pm UTC](https://community.grafana.com/t/how-to-apply-config-from-query-transform-to-multirow-queries/81354 "2023-11-13T20:08:47Z")

</div>

I have a two Prometheus queries: A: Returns used storage on a device B: Total storage Each of those queries return two rows each. Here is an example: A: {\_\_name\_\_="fs\_available\_storage\_bytes", instance="zt1:9101", jo…

---

## [Grafana does not hide NULL values if they come from a CASE WHEN](https://community.grafana.com/t/grafana-does-not-hide-null-values-if-they-come-from-a-case-when/105519)

<div class="topic-metadata">

**Author:** [@mralex9801](https://community.grafana.com/u/mralex9801)\
**Replies:** 0\
**Last updated:** [October 13, 2023, 10:34am UTC](https://community.grafana.com/t/grafana-does-not-hide-null-values-if-they-come-from-a-case-when/105519 "2023-10-13T10:34:15Z")

</div>

Hello everyone, I’m trying to create a panel in Grafana 10, using MySql as a database. The bars should represent: Available hours Utilized hours The available hours will always be more than the utilized ones, but som…

---

## [Bar Gauge Hourly Comment](https://community.grafana.com/t/bar-gauge-hourly-comment/104852)

<div class="topic-metadata">

**Author:** [@egerkagan](https://community.grafana.com/u/egerkagan)\
**Replies:** 0\
**Last updated:** [October 4, 2023, 7:58am UTC](https://community.grafana.com/t/bar-gauge-hourly-comment/104852 "2023-10-04T07:58:46Z")

</div>

Hello, I am using bar gauge on my page and i calculate to our hourly production count every hour with using influxdb flux language. But i want to write every hour number instead of “\_value” area ( like 09:00-10:00, 10:0…

---

## [Add a percentage in bar graph on top of another Y axis](https://community.grafana.com/t/add-a-percentage-in-bar-graph-on-top-of-another-y-axis/104769)

<div class="topic-metadata">

**Author:** [@wxyzabc190](https://community.grafana.com/u/wxyzabc190)\
**Replies:** 0\
**Last updated:** [October 3, 2023, 5:32am UTC](https://community.grafana.com/t/add-a-percentage-in-bar-graph-on-top-of-another-y-axis/104769 "2023-10-03T05:32:05Z")

</div>

What Grafana version and what operating system are you using? I am using grafana web. What are you trying to achieve? I have 2 columns returning: one is the monthly target and another is Actual. I also need to kno…

---

## [Bar gauge showing power cost (flux join?)](https://community.grafana.com/t/bar-gauge-showing-power-cost-flux-join/103357)

<div class="topic-metadata">

**Author:** [@buestad](https://community.grafana.com/u/buestad)\
**Replies:** 3\
**Last updated:** [September 12, 2023, 7:26pm UTC](https://community.grafana.com/t/bar-gauge-showing-power-cost-flux-join/103357 "2023-09-12T19:26:27Z")

</div>

I am changing my storage engine from MySQL to influxDB and am struggeling to convert my querys. I have stored power use for electrical consumers (heating, hot water, car chagers and so on in MySql as watt every minute, …

---

## [Table Series as Display Name without prefix](https://community.grafana.com/t/table-series-as-display-name-without-prefix/101626)

<div class="topic-metadata">

**Author:** [@david82af](https://community.grafana.com/u/david82af)\
**Replies:** 0\
**Last updated:** [August 21, 2023, 9:26am UTC](https://community.grafana.com/t/table-series-as-display-name-without-prefix/101626 "2023-08-21T09:26:11Z")

</div>

What Grafana version and what operating system are you using? v10.0.3 What are you trying to achieve? I want to use the query name as the display name for each bar. It sort of works using ${\_\_series.name} but wraps …

---

## [Sort Bar Gauge by number column](https://community.grafana.com/t/sort-bar-gauge-by-number-column/100073)

<div class="topic-metadata">

**Author:** [@alexmondaini](https://community.grafana.com/u/alexmondaini)\
**Replies:** 7\
**Last updated:** [July 30, 2023, 4:46am UTC](https://community.grafana.com/t/sort-bar-gauge-by-number-column/100073 "2023-07-30T04:46:52Z")

</div>

I have a query like this with postgres as backend: select distinct obsolete\_date as time, software\_product\_version\_name as metric, obsolete\_date::date - current\_date as days\_to\_expire from evergreen where current\_da…

[Next page](https://community.grafana.com/c/support/bar-gauge/53.md?page=1)
