Hello!
I would like to add a QwtPlotLegendItem in a bar graph (one that uses QwtPlotMultiBarChart), but I couldn't find a way to do it apart from the simple creating and attaching it (used almost the same code that is in the Legends example). I tried it with a normal scope graph (QwtPlot with some QwtPlotCurves) and it worked, but nothing happens when I attach the same legend in a QwtPlot with QwtPlotMultiBarChart, nor could I find any method in the assistant files that would both make the legend appear as well as show the appropriate data.
So how to do it? :x
Thanks,
Momergil
Edit: Actually I noticed that the QwtPlotLegendItem is being drawn: as a two-pixel white point in the graph \o/
Edit2: Solved: I forgot to set the item's names
Bookmarks