Thank you messi.
I have figured out how to do it now. It was a problem with stylesheet and QPalette.
Just a note, if you want to set the background color of the plot use:
@Plot->canvas()->setStyleSheet(" QwtPlotCanvas { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde); }");@
Then to change the border around the plot (including the axes and such) use:
@Plot->setStyleSheet(" QwtPlot { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde); }");@
Thanks again.