I tried changing the code in the demo (polardemo) that comes with qwtpolar and it still doesn't work.
When looking at your first posting you wrote, that "hasAutoScale(QwtPolar::Radius)" returns true after doing a "setScale(QwtPolar::Radius,-40,40,2.0);". This is what I checked and I can't confirm.
In the Plot constructor I changed this line in the code
setScale(QwtPolar::Radius,radialInterval.minValue( ), radialInterval.maxValue())
which sets it up to autoscale the division lines to setScale(QwtPolar::Radius,radialInterval.minValue( ), radialInterval.maxValue(),8) but the scale division lines don't change,.
Of course they doesn't change as you are using exactly the same parameters as what the autoscaling operation comes up with.
Guess you simply forgot to increase the maximum for the major steps: try
setScaleMaxMajor( QwtPolar::Radius, 40 );
setScale( QwtPolar::Radius, -40,40, 2.0 );
setScaleMaxMajor( QwtPolar::Radius, 40 );
setScale( QwtPolar::Radius, -40,40, 2.0 );
To copy to clipboard, switch view to plain text mode
and you will see an effect - event if probably not the one you want to have.
Where does one report a bug?
You already have my attention.
Uwe
Bookmarks