I want to plot scale on the canvas. I try to use the scale map of the left axis.
When I turn on the YLeft Axis or XBottom Axis, It works good.
But When I turn off the YLeft Axis It works in a wrong way. It shows just a part of the plot .why??? Hope for help!!
I tried many times , I find out the problem is the laylout stuff, but I don't know how to solve it .
When I turn on 1 axis, the layout works fine, if I turn off the axis, It works wrong.
Just pay attention on the left green part!
I put he plot in a QVBoxLayout to layout it.
Untitled1.jpg
Untitled2.jpg
Untitled3.jpg
Bookmarks