I'd like to take a chart's legend and place it inside one of the chart's siblings. The idea is that I have several charts laid out horizontally which all share the same range (y axis).
In this particular case, my widget hierarchy looks something like this:
...
- QSplitter
- - QwtPlot
- - - QwtLegend
- - QwtPlot
- - - QwtLegend
- - QwtPlot
- - - QwtLegend
The legends are all redundant, so it wastes a lot of space. I'd rather it look something like this:
...
- QSplitter
- - QwtLegend
- - QwtPlot
- - QwtPlot
- - QwtPlot
Can this be done? How?
Added after 8 minutes:
It looks like QwtPlot doesn't even provide a way to remove a legend once it's been added.
Bookmarks