Hi All,

How can I set my QwtPlot's canvas as transparent? I want to see all my running curves and canvas background in same screen. My settings like that;

Qt Code:
  1. plotHandle->canvas()->setPaintAttribute(QwtPlotCanvas::BackingStore, true);
  2. plotHandle->canvas()->setPaintAttribute(QwtPlotCanvas::Opaque, false);
  3.  
  4. QPalette palette = plotHandle->canvas()->palette();
  5. palette.setBrush(QPalette::Window, QBrush(QColor(0, 0, 0, 0)));
  6. privateData.plotHandle->canvas()->setBackgroundRole(QPalette::Window);
  7. privateData.plotHandle->canvas()->setPalette(palette);
  8. privateData.plotHandle->canvas()->setAutoFillBackground(false);
To copy to clipboard, switch view to plain text mode 

But my canvas seem not transparent until I set the BackingStore attribute to false.
This time I can see background of canvas but replot function doesn't work and my curves draw's the same screen in overlapped way without cleaning the canvas.

How can I make my canvas transparent?
Thanks in advance.