thomasnordquist / MQTT-Explorer

An all-round MQTT client that provides a structured topic overview
https://mqtt-explorer.com
Other
2.99k stars 287 forks source link

Graph label (y) loss of precision #692

Open arc12 opened 1 year ago

arc12 commented 1 year ago

Hello - excellent tool Thomas; the best I found for my scenarios

One issue, which I suspect relates to #84 is that your efforts to make things more concise do not work well when values are quite large but vary only a little. For example, I log CO2 concentration in ppm. This is often > 1000ppm, but with all labels as "1k", variations from 1250ppm to 1300ppm (for example) mean I see five axis labels of "1k". I appreciate graph plotting is harder than it initially seems (I've wrestled with many!), but maybe consider allowing the user to specify a scale multiplier in the graph configuration e.g. "0.001", showing the multiplier with the axis title, and giving the value labels to 3 or 4 significant figures.

GerMarsh commented 1 year ago

I have this too. Thank you for reporting it.

g6094199 commented 11 months ago

this is related to https://github.com/thomasnordquist/MQTT-Explorer/issues/615 , too

i see this behavior either, see:

grafik

maybe it a regression of https://github.com/thomasnordquist/MQTT-Explorer/issues/85