Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Skip NaN values in axis min/max calculations.

Resolves #489.
  • Loading branch information...
commit ab6e4a95bdfb45f2399bb7afe7a68a7cea4ba9b2 1 parent 4228615
@dnschnur dnschnur authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jquery.flot.js
View
2  jquery.flot.js
@@ -1629,7 +1629,7 @@ Licensed under the MIT license.
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
|| (t == "full"
&& ((typeof bw == "object" && bw[axis.position] > 0) || bw > 0)
Please sign in to comment.
Something went wrong with that request. Please try again.