Commit b15669fd authored by Ole Laursen's avatar Ole Laursen

Fix bug in threshold plugin exposed by recent bugfix in data processor

parent fcd4bce6
...@@ -46,7 +46,7 @@ events. ...@@ -46,7 +46,7 @@ events.
var ps = datapoints.pointsize, i, x, y, p, prevp, var ps = datapoints.pointsize, i, x, y, p, prevp,
thresholded = $.extend({}, s); // note: shallow copy thresholded = $.extend({}, s); // note: shallow copy
thresholded.datapoints = { points: [], pointsize: ps }; thresholded.datapoints = { points: [], pointsize: ps, format: datapoints.format };
thresholded.label = null; thresholded.label = null;
thresholded.color = color; thresholded.color = color;
thresholded.threshold = null; thresholded.threshold = null;
......
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