PDA

View Full Version : QwtPlot offset between Canvas and Scale



revellix
31st July 2011, 12:53
I read few posts, but nobody seems to have a problem with that. I am plotting a 2D-graph, so I use the Qwt Libs.

Problem: There is a space between the drawRect or canvas or whatever you call it and the scales. I want the scales to be adjusted to the canvas so there is no more space between them.

http://i54.tinypic.com/ke99gn.png

Is it even possible? Really cannot find the solution for that.

Uwe
31st July 2011, 13:15
plot->axisWidget( QwtPlot::yLeft )->setMargin( 0 );Note, that here is a subforum dedicated to Qwt. If you don't want to be missed post there.

Uwe

revellix
31st July 2011, 13:31
Uwe you rock ... :)

I am new to Qt... sorry, next time I post in the SubForum.

thx