plotti.co
plotti.co copied to clipboard
For "CPU load" - like (percentage) plots we need to guess that user wants 0-100 scale
scales like 0-80
or 0-90
should not exist; they usually indicate that the data wants something like 0-100
instead
also if an outlier spikes so that we wanted to set a 0-110
scale - this should be smoothed too
Why not add a couple of get parameters like min & max instead of doing guesswork?
introducing plotting parameters API is out of the current development scope; the thing should work out of the box as expected; 0-80 is definitely an impossible scale; also 0-800 is likely a badly designed scale
Perhaps we should see if the axis name ends with % instead? If it does, set the axis size to 100 units.
yes, that would be a nice guess. Maybe this algorithm:
- if the axis max is 90 -> immediately do a 0-100
- if the axis max is
15 < max < 90
and has%
sign in msg -> do a 0-100