PDA

View Full Version : Does QwtPlotCurve support the NaN values or how to draw piecewise curve in Qwt 6.0.0?



spirt
31st May 2011, 08:22
Hi there, does anyone know the convenient way to draw the piecewise curves in Qwt 6.0.0? I've found some solutions in the Internet, but I think they are for the previous versions.

Uwe
1st June 2011, 07:39
Hi there, does anyone know the convenient way to draw the piecewise curves in Qwt 6.0.0?

Derive from QwtPlotCurve and overload drawCurve. Here you can call drawLines for sub intervals in a loop - how to identify these intervals is up to your class design.

Uwe