gauge.js icon indicating copy to clipboard operation
gauge.js copied to clipboard

settings for decimal and precision

Open yamanbas opened this issue 7 years ago • 3 comments

Hi, thank you for your great effort for this library. I want to ask that is there any update for decimal and float values ? I looked the sample at http://jsfiddle.net/berni/smNjl/ and implemented it but it's more complex and not working good if there are more then 1 gauge.

yamanbas avatar Feb 05 '18 08:02 yamanbas

Any luck ? jsfiddle link is dead, is another example code for apply decimal and flot values ? thanks

electricbit avatar Jun 21 '18 17:06 electricbit

can we show floating values 3.8 like in this guage? or just integer values are allowed? Any example please?

adnandogar avatar Oct 20 '20 16:10 adnandogar

You can solve it. by accessing the gauge object. I have a temperature gauge.

it will be like this- temp.setTextField(document.getElementById('temp-textfield'), 2); // Second Parameter is precision

image

subhadipghorui avatar Jan 31 '21 08:01 subhadipghorui