Open phectori opened 4 years ago
What type of behavior do you expect?
Options:
I would say: Do not draw a line between the points surrounding the NaN value, or maybe ignore it completely.
It depends whether you want to indicate a NaN value has been sent. You could also give the line between the surrounding points a "warning" colour.
The simplest implementation would be to ignore the value.
This might well be different from the right thing to do. In any case, I propose to drop the value with an warning in the logging. The person sending the data should check on NaN values I assume?
There you go!