Change background color of Qcustomplot
The normal color is white. I can change the color in creator via a stylesheet change. I want to change it to yellow if data stops coming into the plot and back to white when data is coming into the plot
but when I compile and run that color is not on the plot.
I've tried the palette method and the stylesheet method in code via a button push. The color will not change. Since I promoted a QWidget to qcustomplot does my syntax have to include those items. This one has me frustrated.
Thanks for any help
emp1953
Re: Change background color of Qcustomplot
I use:
in C++. See if it works for you.
Re: Change background color of Qcustomplot
I tried it, it compiles but when running the color does not change. Are there some settings that lock the widgets defaults or something?
Re: Change background color of Qcustomplot
You *may* have to do a to make it work.
Can we see your code?