Line reconnects null points
Posted: Thu Jul 29, 2010 8:33 pm
I'm plotting data using FastLine. I tried posting this on the Java section but no one responded. I'm plotting temperature (y-axis) vs time (x-axis).
Here's the issue:
It's plotting valid points. Then when the value crosses a threshold it calls add(). Time (x-axis) increments and nothing gets plotted, creating a gap - just how i want it to work. But as soon as i start plotting valid points again, the gap gets connected to the previous plotted point no matter what i try/change. I've been trying to get this gixed for days now and getting no where. Any advice or tips would be greatly appreciated.
Thank you
Here's the issue:
It's plotting valid points. Then when the value crosses a threshold it calls add(). Time (x-axis) increments and nothing gets plotted, creating a gap - just how i want it to work. But as soon as i start plotting valid points again, the gap gets connected to the previous plotted point no matter what i try/change. I've been trying to get this gixed for days now and getting no where. Any advice or tips would be greatly appreciated.
Thank you