Hi,
I found that QwtPlot removed the external legend option in Qwt 6.0.
How to implement the external legend in Qwt 6.0?
Thanks,
William
Hi,
I found that QwtPlot removed the external legend option in Qwt 6.0.
How to implement the external legend in Qwt 6.0?
Thanks,
William
Simply by not calling QwtPlot::inserLegend. Instead you have to connect the legendDataChanged signal from the plot with the updateLegend slot of the legend manually
Have a look at legends example - the corresponding code for the external legend can be found in Plot::applySettings.
Uwe
lin3398032 (26th April 2018)
Bookmarks