My favorites | Sign in
Project Home Downloads
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 261: Error in flot.js after implementing threshold on bar series
4 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  ----


Sign in to add a comment
 
Reported by davidm...@gmail.com, Nov 16, 2009
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 (%)'
},
...
Sep 26, 2011
#1 erich.ki...@gmail.com
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            }


 
Jun 5, 2012
Project Member #2 dnsch...@gmail.com
(No comment was entered for this change.)
Status: Accepted
Sign in to add a comment

Powered by Google Project Hosting