for one line I don't want to show its legend, how to disable it ? the enableLegend() was deprecated in qwt-5.2.
QwtPlotCurve *maglayout = new QwtPlotCurve();
maglayout->attach(this);
Thanks.
for one line I don't want to show its legend, how to disable it ? the enableLegend() was deprecated in qwt-5.2.
QwtPlotCurve *maglayout = new QwtPlotCurve();
maglayout->attach(this);
Thanks.
maglayout->setItemAttribute(QwtPlotItem::Legend, false);
Uwe
lhdamiani (20th March 2013)
setItemAttribute(QwtPlotItem::Legend, false); is not working qwt6. In my case the label text is empty. But still it is showing a color box in legend
Last edited by mqt; 12th May 2015 at 12:10.
Bookmarks