fitzer
September 5, 2020, 7:41pm
1
Imagine, if you wil, a Guage that has a needle that points straight up, with a value of 0. To the left, you have negative voltage up to -5. To the right, positive voltage, also up to 5. The neutral position of this gauage is zero. Any deviation from 0, will be either a positive or negative number.
How do Imake a gauge in Grafana perform in this manner. The guges here all seem to start on the left side, and start at zero.
2 Likes
I need this feature too. Example: I’d like do visualize my solar facility. The battery storage has a current power range from -2.5 kW (discharging) to 2.5 kW.
Did you manage to solve this somehow? If not, how could we make a feature request?
Stefan
1 Like
set your min and max values to -2.5kw and 2.5kw respectivly. this will put 0 in the 12 o’clock position.
If you want to show peaks past 2.5kw in either direction, then increase min/max accordingly.
1 Like
Ok, let me illustrate with pictures what I mean:
Gauge as it is with min -2.5, max: 2.5:
The 0 is at 12 o’clock, but the bar starts as -2.5.
Gauge as I would like to see it:
0 is at 12 o clock and the bar starts also there.
Regards
Stefan
3 Likes
Did you ever get an answer. I’m beating my head against the same desire / need
grant2
February 26, 2022, 5:51pm
6
@eabyrd1506 Welcome to the Grafana forum.
Have you seen these two ideas that I made in another post? Best way to report both negative and positive values - #4 by grant2
Yes, that’s how it works all the time and it simply doesn’t look convenient.
But there is a reply under your post, that’s just another mockup of my post.
See: Best way to report both negative and positive values - #5 by rovarious
We know this is not implemented in Grafana today and the intention of this post was a feature request. Is there another channel where to post feature requests?
Stefan
grant2
March 26, 2022, 12:04pm
8
Hi Stefan. I think this is how the Grafana team wants to receive feature requests…
https://localhost:3000/t/f-a-q-feature-requests-as-github-discussions/50342
I requested it in GitHub already:
Have you looked into creating this via your own svg using the SVG plugin?
No, but I started fixing it on my own.
Here a before/after compare:
1 Like
How did you manage to achieve this? It looks excellent.
Cloned the source code from Github. Then implemented and build it.
Now I have to to a pull request and hope they’ll accept it.
Feature implemented with Grafana 9.3.0
<!-- 9.3.0 START -->
# 9.3.0 (2022-11-30)
### Features and enhancements
- **Alerting:** Enable interpolation for notification policies in file provisioning. [#58956](https://github.com/grafana/grafana/pull/58956), [@JohnnyQQQQ](https://github.com/JohnnyQQQQ)
- **Azure Monitor Logs:** Avoid warning when the response is empty. [#59211](https://github.com/grafana/grafana/pull/59211), [@andresmgot](https://github.com/andresmgot)
- **Azure Monitor:** Add support to customized routes. [#54829](https://github.com/grafana/grafana/pull/54829), [@ms-hujia](https://github.com/ms-hujia)
- **Canvas:** Add icon value mapping. [#59013](https://github.com/grafana/grafana/pull/59013), [@nmarrs](https://github.com/nmarrs)
- **CloudWatch:** Cross-account querying support. [#59362](https://github.com/grafana/grafana/pull/59362), [@sunker](https://github.com/sunker)
- **Docs:** Update `merge-pull-request.md` regarding backport policies. [#59239](https://github.com/grafana/grafana/pull/59239), [@dsotirakis](https://github.com/dsotirakis)
- **GaugePanel:** Setting the neutral-point of a gauge. [#53989](https://github.com/grafana/grafana/pull/53989), [@sfranzis](https://github.com/sfranzis)
- **Geomap:** Improve location editor. [#58017](https://github.com/grafana/grafana/pull/58017), [@drew08t](https://github.com/drew08t)
- **Internationalization:** Enable internationalization by default. [#59204](https://github.com/grafana/grafana/pull/59204), [@joshhunt](https://github.com/joshhunt)
- **Logs:** Add `Download logs` button to log log-browser. [#55163](https://github.com/grafana/grafana/pull/55163), [@svennergr](https://github.com/svennergr)
- **Loki:** Add `gzip` compression to resource calls. [#59059](https://github.com/grafana/grafana/pull/59059), [@svennergr](https://github.com/svennergr)
- **Loki:** Add improvements to loki label browser. [#59387](https://github.com/grafana/grafana/pull/59387), [@gwdawson](https://github.com/gwdawson)
- **Loki:** Make label browser accessible in query builder. [#58525](https://github.com/grafana/grafana/pull/58525), [@gwdawson](https://github.com/gwdawson)
- **Loki:** Remove raw query toggle. [#59125](https://github.com/grafana/grafana/pull/59125), [@gwdawson](https://github.com/gwdawson)
This file has been truncated. show original
See: Gauge options => Neutral
Have fun,
Stefan