Hi everyone!
As suggested in cpuplot example, i've used setMinBorderDist trying to avoid the "jumping canvas" effect in my trend. CpuPlot example have vertical labels for the bottom axis. My trend display labels horizontally. So i used this variation of the cpuplot example code:
QwtScaleWidget *scaleWidget = plot->axisWidget(QwtPlot::xBottom);
const int fmw = QFontMetrics(scaleWidget->font()).width("00:00:00");
scaleWidget->setMinBorderDist(0, fmw / 2);
ok, jumpin' effect does not appear anymore but I get a problem on the right of xBottom axis (see attachment), labels & axis values go outside the plot area, also curves go outside.
I really don't get the correct usage of setMinBorderDist, maybe this problem come from the patch for multiple yAxis...
some help?![]()
Bookmarks