Check the bode example and replace QwtPlot::BottomLegend by QwtPlot::TopLegend.
If this is what you are looking for check your code and remove everything you did, what has to do with the legend - beside the line you find in the example.
Uwe
Check the bode example and replace QwtPlot::BottomLegend by QwtPlot::TopLegend.
If this is what you are looking for check your code and remove everything you did, what has to do with the legend - beside the line you find in the example.
Uwe
Got it! The problem was another piece of code that also inserted a legend. So even though in the constructor I had the correct code, the class constructing my plot called
Qt Code:
To copy to clipboard, switch view to plain text mode
I'm still not sure how I got items in a single column in the top legend.
Bookmarks