data.push(valueFromServer);
The first value I got from the server was sometimes NaN or undefined. All other values I got from the server were normal integers. But just because of this initial NaN or undefined, the range appeared to get corrupted and no lines would get displayed on the graph.
Perhaps the range function could be modified to detect NaN or undefined values and reject the values and prevent it from affecting the range?
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.