chillibits/particulate-matter-app

weird right side scale/legend when a favorite triggers an alarm...

Opened this issue · 1 comments

tom-r commented

reproduce with :
define a favorite which does not have (e.g.) air pressure data, open it and set the tick on air pressure.
once the alarm is triggered and you open the sensor chart data, the right side scale/legend shows freaky values for the pressure scale (starting with -800 and going up to + 1k...)
Seems the scale/legend its not initialized in this situation ...

tom-r commented

Screenshot_20200126-085740

see the scale on the right please.
This sensor does not have air pressure. Once you set the tick at air pressure (Luftdruck)
and open it from your favorites, you'll see the scale on the right, ranging from -1,28 ... -8000 ... +1,208 k
negative scale also misses the decimal sign, it jumps from 1,28k (=-1280) to -8003 to -4003 ...
Hope that helps ...