PDA

View Full Version : Filling area covers curve。



lwz
22nd August 2014, 03:42
10573


As the image above,a black curve is shadowed by filling area, what should I do to make it clear as there is no filling area as the image below?
It seems to refer to layers. Is there any suggestion?


10574

Uwe
22nd August 2014, 09:29
As long as you don't set a valid curve brush nothing gets filled below a curve. Note, that Qt::NoBrush is the default and something in your code should be responsible for the filling area.

Uwe

lwz
22nd August 2014, 10:15
In fact ,I have to set brush to fill curves, any other suggestion?

Uwe
22nd August 2014, 12:35
Wasn't your question about how to disable the curve filling in the first picture to have something like in the second one ?

Uwe

lwz
22nd August 2014, 13:35
No,my question is how to make the curve within the filling area to be clear as the second image。The curve in filling area is blurred due to the filling area。

Uwe
22nd August 2014, 16:26
Plot items are painted in z order - see QwtPlotItem::setZ().

Uwe

lwz
24th August 2014, 08:57
o,I see , thank you