I wouldl like to remove an item from the legend of a plot.
I tried
Qt Code:
  1. dDailyValues = new QwtPlotCurve("");
  2. ....
  3. QwtLegend* legend = new QwtLegend(this);
  4. legend->remove(dDailyValues);
  5. insertLegend(legend,QwtPlot::BottomLegend);
To copy to clipboard, switch view to plain text mode 
But I still see the symbols for dDailyValues (a line) in the legend
Why?