Commit ab6e4a95 authored by David Schnur's avatar David Schnur

Skip NaN values in axis min/max calculations.

Resolves #489.
parent 42286155
...@@ -1629,7 +1629,7 @@ Licensed under the MIT license. ...@@ -1629,7 +1629,7 @@ Licensed under the MIT license.
xoff = yoff = 0; xoff = yoff = 0;
if (v < axis.min || v > axis.max if (isNaN(v) || v < axis.min || v > axis.max
// skip those lying on the axes if we got a border // skip those lying on the axes if we got a border
|| (t == "full" || (t == "full"
&& ((typeof bw == "object" && bw[axis.position] > 0) || bw > 0) && ((typeof bw == "object" && bw[axis.position] > 0) || bw > 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment