Starting from the real-time example, I built a simpler real-time plotter which fetches data from a local data store.
Works great so far, but one minor wiggle: if the values for the current time interval are, say in the 100 to 200 range then the lower
and upper 'box' will be placed squarely at 100 and 200, the attained min and max.
That is a little unusual. If I use, say, R to plot the point 1 to 10 then the 'canvas' with span 0.64 to 10.36 (as returned by par("usr")) leaving just that little bit for the eye to appreciate the range beyond the min and max values.
I looked around and found some methods for scaling the axes but none helped me accomplished what I am after. Any tips?
Using qcustomplot 1.3.2 on Ubuntu 16.10.