bernii/gauge.js

settings for decimal and precision

Opened this issue · 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.

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

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

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