hi,
is there any QwtPlotCurve::function to remove all curves that are attached? for example 10 curves have attached and now all of these must be detached. is there any function for this?
hi,
is there any QwtPlotCurve::function to remove all curves that are attached? for example 10 curves have attached and now all of these must be detached. is there any function for this?
Hello,
Iterate over the result of QwtPlot::itemList(int rtti) (more precisely: QwtPlotDict::itemList(int rtti)) where rtti is set to QwtPlotItem::Rtti_PlotCurve and detach each item.
Best regards
ars
You can also remove all points from QwtPlotCurve by QwtPlotCurve::data()->clear()
Wait a minute... You want to remove curves not data, my fault. Can't delete message.
Last edited by gorec323; 13th January 2016 at 08:29. Reason: link error
Alex22 (14th January 2016)
Bookmarks