Negative values in gauge
See original GitHub issueDescription
Hello, Is it possible to use a negative value in a gauge ? For example a negative minimum
Steps to check or reproduce
var chart = bb.generate({
data: {
json: {
value: [25]
},
type: "gauge"
},
gauge: {
min: -100,
max: 100
},
size: {
height: 180
},
bindto: "#gaugeChart"
});
Here a link to a fiddle : https://jsfiddle.net/vcz3ru2a/
Thank you for your help and your work !
Victor
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Gauge does not show correctly with Negative values
Solved: Gauge does not show correctly with Negative values - Microsoft Power BI Community.
Read more >Gauge card: can it show negative numbers? - Frontend
Came here to ask the same, but indeed it accepts negative values even though the tooltip states you need to enter a value...
Read more >How can a River Stage be Negative? - National Weather Service
In summary, when a river gauge reads zero or in the negative numbers - it does not mean that the river has gone...
Read more >Gauge chart for Both positive and Negative values in Tableau
this video will help you to learn how to develop gauge chart for both positive and negative chart in tableau.
Read more >Gauge metric negative - Google Groups
Hello Cht G,. These metrics values do indeed look very suspicious! By convention, counters can only increase and should never be negative ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
🎉 This issue has been resolved in version 1.12.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Thanks @pvictor @TimTeaFan both for the thoughtful comments.
I agree on providing
A simple one-metric gauge
. Hence adding or supporting different data variation visualization in agauge
isn’t a good idea.I’ll be considering to implement as different
type
for the last visualization that I mentioned(https://github.com/naver/billboard.js/issues/1071#issuecomment-532993699).