Hi Uwe,
I have implemented the following slot to change fitter type according to user preference.
Qt Code:
void ChartPlot::useSpline(bool on, bool refresh) { if (on) { curve->setCurveFitter(curveFitter); } else { QwtWeedingCurveFitter *curveFitter = new QwtWeedingCurveFitter; curve->setCurveFitter(curveFitter); } if (refresh) replot(); }To copy to clipboard, switch view to plain text mode
Somehow only the last indexed curve in chart will change its shape after re-plot.
Can you please check it? I'm using 6.00-rc5
Added after 13 minutes:
Please, delete this post. I have only modified one curve.
Bookmarks