From e47b43159b639762ab02bcd08845d9d5d741ddba Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Wed, 16 Mar 2011 11:47:07 +0000 Subject: [PATCH] Fix bug in infinity handling git-svn-id: https://flot.googlecode.com/svn/trunk@316 1e0a6537-2640-0410-bfb7-f154510ff394 --- jquery.flot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.flot.js b/jquery.flot.js index 287f98e..5c2a690 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -630,7 +630,7 @@ for (m = 0; m < ps; ++m) { val = points[j + m]; f = format[m]; - if (!f) + if (!f || val == fakeInfinity || val == -fakeInfinity) continue; if (f.x) {