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;