G'day Uwe,
Thanks for your reply. Resizing the window does not alter the x scale: the truncated labels stay truncated. I cannot see any operative part of the cpuplot example that affects this; as you say, it seems to be the default behaviour.
I have attached the full source If you'd like to look (and forgive the blatant plagiarism
).
Regards,
Chris
Edit: Had a bit more of a play with this. If I explicitly set
plot.
setAxisScale(QwtPlot::xBottom,
-100,
1);
plot.setAxisScale(QwtPlot::xBottom, -100, 1);
To copy to clipboard, switch view to plain text mode
in the code attached then the label is good. If, as in my broken example, you leave this out (auto scale) the label is truncated. I can probably live with this in the intended application.
Bookmarks