PDA

View Full Version : hiding one legend and its brush in qwt 6.x



mqt
20th May 2015, 07:31
I have a qwtPlotCurve without label. In 5.x, I was able to call following code and hide the corresponding legend


setItemAttribute(QwtPlotItem::Legend, false);


But it is not working in qwt6. it is showing a color box in the legend. I have also tried all the combinations of setLegendAttribute(----) without any success.


Sorry for the confusion...It seems like some problem in my code. It is solved now