Hello,

the following images describe the problem better than I could with words. In the first image, there is some data displayed. The last data point has an x value of 20.

Image1.png

The second image shows the same data, just shifted one pixel to the right.

Image2.png

As you can see, the tick with the "20" disappeared completly and leaves a blank space, although there is more than enough space apparently.

I am aware of the method QwtScaleEngine::setAttribute and we set the "Floating" attribute to true. Still the tick at the end disappears. I also checked the methods QwtScaleWidget::setMinBorderDist and QwtScaleWidget::setBorderDist and set all values to 0 (I tried even negative numbers), but it did not help at all.

We are using Qt 5.12 and Qwt 6.1.3.

Has anyone a solution for the problem?