PDA

View Full Version : Axis margins



jcox23
10th December 2010, 06:59
hey,

I am trying to tile a qwt plot on top of another QWidget I designed.

I need to have the complete width of the QwtPlot to display data...
I already managed to get the Y axis to be drawn inside the canvas....

Now the only pb is the the little margins on the side of the Xaxis, there seems to be extra room allocated on the canvas to cater for the size of the labels...

how can I have my curve occupying the whole canvas width?

cheers

Uwe
10th December 2010, 09:55
Throw away your implementation, disable the y axes and insert a QwtPlotScaleItem instead.

Uwe