Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Error in flot.js after implementing threshold on bar series #340

Open
dnschnur opened this Issue · 1 comment

1 participant

@dnschnur
Owner

Original author: davidm...@gmail.com (November 16, 2009 13:01:23)

Bar series type causes error:

An invalid or illegal string was specified" code: "12
c.moveTo(left, bottom);

jquery.flot.js (line 1649)

...
{
threshold: { below: 100, color: "rgba(255, 120, 63, 0.5)" },
data: d[0],
bars: { show: true, fill: true, lineWidth: 0, barWidth: 1000 * 60 * 60

  • 24 * 22 }, color: "rgb(200, 220, 63)", label: 'Complete Data (%)' }, ...

Original issue: http://code.google.com/p/flot/issues/detail?id=261

@dnschnur
Owner

From erich.ki...@gmail.com on September 26, 2011 08:53:06
Bugfix: add the following lines:

            for (m = 2; m < ps; ++m)
                p.push(origpoints[i + m]);

after line 82, so it looks like that:

79 }
80
81 p.push(x);
82 p.push(y);
83 for (m = 2; m < ps; ++m)
84 p.push(origpoints[i + m]);
85 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.