Quote Originally Posted by Uwe View Post
Deriving from QwtTransform is an option. I wouldn't expect it to be too difficult to implement transform/invTransform with gaps: have a look at the playground/scaleengine.

While the time scaleengine from the playground examples might work when you are in ranges of months or weeks you probably have to reimplement divideScale for intervals where you are on days.
I've decided to go with a reimplemented QwtOHLCSample that includes another variable to store the real time and I'll use QwtOHLCSample::time to store the index, I figure it would be more useful as I can re-use the annotating tools on candlestick charts that are n*tick based (instead of time).


Quote Originally Posted by Uwe View Post
setAxisScale( 0, 10 ) shows an increasing, setAxisScale( 10, 0 ) a decreasing axis. When you use autoscaling you have to enable the QwtScaleEngine::Inverted flag.
Setting QwtScaleEngine::Inverted and setAxisScale( 10, 0 ) works good for me, but QwtPlotRescaler doesn't respect the invert.