And if you are looking for a dynamic solution use QwtScaleDraw::extent() from all left axes to calculate the value for the minimum extent.
Uwe
And if you are looking for a dynamic solution use QwtScaleDraw::extent() from all left axes to calculate the value for the minimum extent.
Uwe
In order to use extent(), one must know the currently used QFont and QPen.
Figuring out the QFont is easy: , but how can I figure out the QPen used?
Thanks, but that seems qwt trunk version.
QwtScaleDraw::extent takes 2 parameters (as of http://qwt.sourceforge.net/class_qwt...6501cc5ff290c6), and I do not know from where to get the QPen.
The color doesn't matter.Qt Code:
To copy to clipboard, switch view to plain text mode
Uwe
pihentagy (25th February 2011)
Bookmarks