Mictronics/GaugeMeter

unable to display float value and for float value meter not updating .....

KARTHICKROBO opened this issue · 4 comments

i tried all day to solve my self

but i can't

for float value mette move and not updating and showing (..........)

Screenshot (4)
Screenshot (5)

Gauges will accept only integer values.

solved after edit in js

is it correct ? ???????????????????????????????????? work ???????

and edit font size to 30+"px"
after

if(Number.parseFloat(option.used) && Number.parseFloat(option.total))

        {

            
           var u = option.used;

            var t = option.total;

Screenshot (6)

Seems to work. But I'm not sure why you need fractions when dealing kiloWatts or several hundred Volts.

for low volt i need it 24 volt solar and battery etc