-
Re: Plot with gap
Hi,
I try to plot a curve with a gap within the curve.
I just found this code from here: http://www.qtcentre.org/threads/4941...-curves-in-Qwt
that addresses the same problem. But when I try to implement this I get the error
'QwtSeriesData<QPointF>* QwtSeriesStore<QPointf>::d_series' is private within this context
that points to the line
const QPointF sample = d_series->sample(i);
Since I am new to this: can you give me a hint what could be wrong?
Thanks and best regards
Ozzy
-
Re: Plot with gap
Try
const QPointF sample = this->data()->sample(i);
instead of const QPointF sample = d_series->sample(i);
d_series is private(not protected) in the base class.
-
Re: Plot with gap
Hey,
thank you very much! This works perfect for me!!!
Best regards
Ozzy