So far, I have been using qwt v6.0.1 and v6.0.2 without problems. Because of Qt 5 I had to upgrade to v 6.1.0 and the statement above does not seem to do its job anymore.
For about two years I am plotting curves with gaps and I do not like to have an additional entry in the legend. In order to suppress the additional entries, the second and subsequent entries are marked using following statement:
QwtPlotItem::setItemAttribute( QwtPlotItem::Legend, false );
Every single snippet of the curve will have a separate entry in the legend.
QWT has been compiled using MinGW 4.8 as supplied with Qt 5.1 SDK.
Anyone an idea what is wrong or what I have to change?
↧