I've got a problem and I realize it is a long shot at being able to fix without seeing code, but here's the deal:
I have inner ticks (QwtPlotScaleItem) and outer ticks plotting together, but when I first render my plot, the inner/outer scales are not lined up. The instant I resize my plot, they shift and line up correctly.
I am using my own versions of QwtScaleDraw's, but I am using the standard QwtScaleWidget's though. I have setScaleDivFromAxis (true) and have plotLayout ()->setAlignCanvasToScales (true) also set. I'm not even sure if that's relevant.
I also have all axes enabled, but in some cases I disable the labels and ticks. In every case where they are not lined up, it is when the major tick is not at the beginning of the axis. I also always use setAttribute (QwtScaleEngine::Floating, true) on the scale engine which I set for every axis. I only use linear and log scales.
I feel like it might be an order of operations thing that I am not getting, but I really have no idea of where to look at trying to debug this.
Anyway, like I said, this may be a long shot, but if you have any ideas, I'd love to hear them!
Thanks,
Joey
Bookmarks