Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needle stays always at zero #46

Open
na-am opened this issue Feb 7, 2019 · 9 comments
Open

Needle stays always at zero #46

na-am opened this issue Feb 7, 2019 · 9 comments
Labels
bug pinned keep open until resolved

Comments

@na-am
Copy link

na-am commented Feb 7, 2019

Hi@all
i'm using latest grafana und installed yesterday d3 gauge plugin
datasource is influxdb ( select last(value) from hum )

gauge

the unit is not shown and the correct value of 37.0 isn't formatted at 1 decimal

@briangann
Copy link
Owner

can you show the metric query inspector output?

@na-am
Copy link
Author

na-am commented Feb 9, 2019 via email

@briangann
Copy link
Owner

The response looks fine, can you try creating a new panel with no changes (all default) and the same query?

I made a similar query with influx and it shows the data (with decimals and units)

@na-am
Copy link
Author

na-am commented Feb 11, 2019 via email

@vikram-kadian
Copy link

image
I am getting similar error whenever the value is less than zero, needle stays at bottom. Any idea

@SwathiMuppalla
Copy link

SwathiMuppalla commented Aug 27, 2019

Hi @briangann I have the same issue the gauge always stays at the maximum value.
Grafana version: Grafana v6.2.5 (6082d19)
D3 gauge version: 0.0.6
Screenshot (36)
Limits i have given Min 0 and Max 100. I have tried giving MAX 700 too but still stays at max value

@pbousek
Copy link

pbousek commented Jun 8, 2021

Hello, I had same issue and same behaviour, needle moves only when I used count of measurements. Than I found, that the values that I tried to visualize are not integer or float... it was number but saved as string. So check your input if it is real number.

Surprise, surprise, Brian, the needle is moving when I Change the select statement to COUNT!!!

________________________________ Von: Brian Gann notifications@github.com Gesendet: Saturday, February 9, 2019 10:20:47 PM An: briangann/grafana-gauge-panel Cc: na-am; Author Betreff: Re: [briangann/grafana-gauge-panel] Needle stays always at zero (#46) The response looks fine, can you try creating a new panel with no changes (all default) and the same query? I made a similar query with influx and it shows the data (with decimals and units) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<#46 (comment)>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AtNrw7sCsw355r1b0feFxvsR4zlBNoqSks5vLzuvgaJpZM4amt5y.

@stale
Copy link

stale bot commented Jul 28, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

@stale stale bot added the stale marked stale due to inactivity label Jul 28, 2022
@briangann briangann added bug pinned keep open until resolved and removed stale marked stale due to inactivity labels Jul 30, 2022
@candlerb
Copy link

(Grafana 9.2.5) I get some strange behaviour dependent on decimals. Here the value is 0.499, and the units set to "Kilowatt (kW)"

When decimals set to "auto":

image

When decimals set to "0":

image

However, with decimals set to "1" the needle position is correct:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pinned keep open until resolved
Projects
None yet
Development

No branches or pull requests

6 participants