Hi all,
I have Qwt plot with legends to the curves inside the plot. The legends are located outside the plot. Is there anyway to have the legends inside the plot in Qwt, like we have it in Matlab ?
Hi all,
I have Qwt plot with legends to the curves inside the plot. The legends are located outside the plot. Is there anyway to have the legends inside the plot in Qwt, like we have it in Matlab ?
With QwtPlot::ExternalLegend you can put the legend wherever you want to ( also with a transparent background on top of the canvas ).
Uwe
Is it available in Qwt-4.2.1?...I can see it in the online documentation for Qwt5...I am using Qwt-4.2.1. Is it possible in my version of Qwt?
No, you have to upgrade.
Uwe
OK, but how to move the legend in a position inside the plot?
The same way you move any type of widget: QWidget::setGeometry or QWidget::move().
Uwe
Bookmarks