i mean that the qwtplotshapeitem should be on top of my QwtPlotCurve, at the moment the qwtplotshapeitem moves the QwtPlotCurve to the bottom...
see here:
http://img.ctrlv.in/img/15/06/14/557dd35c189d0.jpg
how can i extract the x coords from my QwtPlotCurve and pass it to qwtplotshapeitem? from x=10 to x=100
ymax = top, ymin = bottom of the qwtplot.
edit: i solved the problem.... just used wrong coords for QPaintPath, addRect.... i only need to specific the region of the violation with the coordinates of .addRect...
how should the QwtPlotZoneItem be useful here? can you show an example?
does qwt use opengl in the behind the scenes per default? could you use it? do people use it to render the plot?
Bookmarks