PDA

View Full Version : Qwt Scale Label Precision



JohnKustrin
20th August 2010, 16:42
Hello,

Is there a way to set the precision of the qwt plot scales?. I am using setAxisScaleDiv to hard code a scale(fixed grid and scales), however I have be unable to find a way to force a fixed format of the tick labels. This results in a graph that bounces all over the place due to dynamically changing scales. Any help would be appreciated.

Thanks

Uwe
20th August 2010, 18:06
By overloading QwtScaleDraw::label() you have complete control over all tick labels.

Uwe