Hello,

I'm using the ScrollZoomer from the realtime example and it is working almost fine... but now I want to use the option "mode(Qt::ScrollBarAlwaysOn)". The Scrollbar is actually always on, as it should be - but there is a problem with the axis scaling. The canvas is not resized, so that the scrollbar is hiding part of my plot. The x-axis line doesn't stop where the scrollbar begins, it is also under the scrollbar.

In case that was not understandable: my x range is from 0 to 150. 150 is at the rightmost point of the canvas. Now I compile with "ScrollbarAlwaysOn". the scrollbar is drawn at pos. 145-150, so that the rightmost 5 values are hidden.

I tried replot(), but that didn't work.

What do I have to change in the ScrollZoomer to fit the axis scale on startup?

thanks!
Felix