Re: change position of the legend's items
Brought to you by:
rathmann
From: Uwe R. <Uwe...@ti...> - 2007-03-16 11:20:20
|
> Delete the layout and create another one is the only answer? I checked the code and it looks like that there are several bugs + that the= re=20 should be an API to change the position without having to reinsert the=20 legend. But for the moment I=B4m afraid you have to create a new legend each time y= ou=20 want to change its position: void YourPlot::moveLegend(QwtPlot::LegendPosition pos) { insertLegend(new QwtLegend(), pos); // deletes the previous legend } Uwe |