Hello!
First of all, I am really really sorry for my English.
I'm quite new to C++/Qt/Qwt and I'm writing a ping application which plots a real-time graph with Qwt on Windows.
I'll try to explain with a couple of pictures for clearance, because I don't know how to express myself.
So here goes...
This is the current state of my program:
As you can see around X 10 its working... kinda. When I receive an error (value < 0) it does plot it how it should.
But what I want is this:
Instead of plotting it below, leave a hole in the graph and continue anew.
I searched around the web and the forum and from what I understood I'm supposed to overload MyCurve::drawCurve. I know how to overload a function but I have no idea how to overload drawCurve to change color/disable the pen and brush in my case, so the plot should be invisible/. If you need the code for my plot, you can find it here: plotter.h and here: plotter.cpp.
Thanks for all replies in advance!
Bookmarks