Skip to content

Commit

Permalink
Fix bug in infinity handling
Browse files Browse the repository at this point in the history
git-svn-id: https://flot.googlecode.com/svn/trunk@316 1e0a6537-2640-0410-bfb7-f154510ff394
  • Loading branch information
olau@iola.dk committed Mar 16, 2011
1 parent fbe4273 commit e47b431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.flot.js
Expand Up @@ -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) {
Expand Down

0 comments on commit e47b431

Please sign in to comment.