My legend is a QwtPlot::RightLegend which usually has enough curves in it so that it requires a scrollbar. The problem I am having is when I am exporting the renderer is cutting off a lot of the items in the legend. I would like to keep it as a RightLegend if possible because it looks a lot cleaner than a BottomLegend with this many curves.

My other issue is that my legend items are checkable to allow the user to view whichever curves they would like on the plot and export images with individual curves being showcased. The problem is that the renderer does not show which items were checked.

Any help is greatly appreciated.