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

negative minvalue not handled correctly #68

Open
gerhardvilsecker opened this issue Feb 3, 2025 · 0 comments
Open

negative minvalue not handled correctly #68

gerhardvilsecker opened this issue Feb 3, 2025 · 0 comments

Comments

@gerhardvilsecker
Copy link

I try to create a thermometer for outside temperature. Any gauge I tried so far (radial and linear) do position needle to lower end of scale even when lower end is -30 degrees Celsius. Example:
Gauge is configured for minValue: -30 and maxValue: 40
Outsidetemperature is currently 0.0 degrees Celsius
Result: needle is positioned at about -30 degrees Celsius on the card (which is the "normal" = 0 starting point of gauges...)

==>I assume gauges cannot handle negative numbers :-(

PS: I used an example config I have found here: https://canvas-gauges.com/documentation/examples/

Screenshot:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant