Commit 36df8f08 authored by Ole Laursen's avatar Ole Laursen

Fix problem with threshold plugin and bars (based on patch by kaarlenkaski, issue 348)

parent 2d2ca32a
...@@ -6,6 +6,7 @@ Bug fixes ...@@ -6,6 +6,7 @@ Bug fixes
- Fix problem with null values and pie plugin (patch by gcruxifix, - Fix problem with null values and pie plugin (patch by gcruxifix,
issue 500). issue 500).
- Fix problem with threshold plugin and bars (based on patch by kaarlenkaski)
Flot 0.7 Flot 0.7
......
...@@ -80,6 +80,8 @@ events. ...@@ -80,6 +80,8 @@ events.
p.push(x); p.push(x);
p.push(y); p.push(y);
for (m = 2; m < ps; ++m)
p.push(origpoints[i + m]);
} }
datapoints.points = newpoints; datapoints.points = newpoints;
...@@ -98,6 +100,6 @@ events. ...@@ -98,6 +100,6 @@ events.
init: init, init: init,
options: options, options: options,
name: 'threshold', name: 'threshold',
version: '1.0' version: '1.1'
}); });
})(jQuery); })(jQuery);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment