From b15669fd13001f44b96b9ab1790bb141fec99c1c Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Fri, 3 Jun 2011 20:21:40 +0200 Subject: [PATCH] Fix bug in threshold plugin exposed by recent bugfix in data processor --- jquery.flot.threshold.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.flot.threshold.js b/jquery.flot.threshold.js index ea04ab6..f40b0af 100644 --- a/jquery.flot.threshold.js +++ b/jquery.flot.threshold.js @@ -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;