Hi again Uwe,
I can't seem to get either of these options to work. Both create a crash in the program.
As soon as I issue the plot->insertLegend(NULL) it crashes, it does compile though
Any thoughts?
Hi again Uwe,
I can't seem to get either of these options to work. Both create a crash in the program.
As soon as I issue the plot->insertLegend(NULL) it crashes, it does compile though
Any thoughts?
Start the debugger and check where it crashes ( something everyone should do before reporting ).
QwtPlot::insertLegend deletes the legend, that was previously inserted. When you also delete it in your application it might be the reason for the crash.
Uwe
Hi Uwe,
Yep, I was running it in debugger and it was crashing. Turns out that the debugger was corrupted and not debugging properly. Fixed now, as is the Legend hiding.
Thanks.
Bookmarks