Re: QwtScaleDraw for yaxis
"virtual QwtText label(int v) const" is not overloading virtual "QwtText label(double v) const" !
Uwe
Re: QwtScaleDraw for yaxis
Thank You. :) This was very helpful.
The idea is to have two or more Plots, which share the same x-Axis or else one plot with two or more yAxis one below the other. I found some help to this theme but couldnt find an example. :(
If I use different plots i need to connect the axis (when i zoom in one plot i need to zoom in the others too) and the canvas need to be in a vertical layout with the other canvas. If i try this I get errors. Is there any way to do this?
Re: QwtScaleDraw for yaxis
Quote:
The idea is to have two or more Plots, which share the same x-Axis ...
Check the plotmatrix example.
Quote:
...or else one plot with two or more yAxis one below the other.
svn export https://svn.code.sf.net/p/qwt/code/b...-6.1-multiaxes
Uwe
Re: QwtScaleDraw for yaxis
Quote:
Originally Posted by
Uwe
Check the plotmatrix example.
Okay I checked the example but there is still the problem. If I have for example on my first plot a y-axis with a scale from 100-600 and on the other plots just 0 and 1 the plots aren't exactley below each other. :(
Re: QwtScaleDraw for yaxis
Quote:
Originally Posted by
mikrocat
Okay I checked the example but there is still the problem. If I have for example on my first plot a y-axis with a scale from 100-600 and on the other plots just 0 and 1 the plots aren't exactley below each other. :(
Then you need to have a second look at the plotmatrix example.
Uwe
Re: QwtScaleDraw for yaxis
Sorry, it was friday. I changed the scaledraw of my yAxis after the alignVaxis was called. So the alignment was ruined.
Thank You!