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

pull/1/head
Ole Laursen 15 years ago
parent fcd4bce6f9
commit b15669fd13

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

Loading…
Cancel
Save