Skip NaN values in axis min/max calculations.

Resolves #489.
pull/1/head
David Schnur 13 years ago
parent 42286155be
commit ab6e4a95bd

@ -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)

Loading…
Cancel
Save