Skip to content

Commit b15669f

Browse files
committed
Fix bug in threshold plugin exposed by recent bugfix in data processor
1 parent fcd4bce commit b15669f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.flot.threshold.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ events.
4646
var ps = datapoints.pointsize, i, x, y, p, prevp,
4747
thresholded = $.extend({}, s); // note: shallow copy
4848

49-
thresholded.datapoints = { points: [], pointsize: ps };
49+
thresholded.datapoints = { points: [], pointsize: ps, format: datapoints.format };
5050
thresholded.label = null;
5151
thresholded.color = color;
5252
thresholded.threshold = null;

0 commit comments

Comments
 (0)