PDA

View Full Version : Qwt, grid over the curve



Asting
5th June 2014, 09:45
Hello everyone,
I got next problem: at QwtPlot, with using QwtPlotGrid - grid located under the curve. In my case I draw filled colour rectangles, witch occupy a large area, and I cant see a grid there.
Is possible somehow locate QwtPlotGrid over a curve?
p.s. sorry if describtion unitelligible, if needs I will attach pic.

Cah
5th June 2014, 11:09
In my case I draw filled colour rectangles, witch occupy a large area
Where did you draw filled colour rects ? .. Did you use a custom grid ?


Is possible somehow locate QwtPlotGrid over a curve?
See QwtPlotItem::z()

Asting
6th June 2014, 10:33
At first I tried drwa this rect-s in curve, and then attach curve to plot. Grid from QwtPlotGrid, nothing special.
But now I going to QwtPlotShapeItem instead curve, so it locate under the curve, problem is solved. thx.