From 7e35890409073ceea96247451ea19427657377cd Mon Sep 17 00:00:00 2001 From: Frank Wuerthwein Date: Wed, 11 Mar 2009 23:37:34 +0000 Subject: Fix unselect --- src/lib/rrdFlot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/rrdFlot.js b/src/lib/rrdFlot.js index 96b71ef..4356e6e 100644 --- a/src/lib/rrdFlot.js +++ b/src/lib/rrdFlot.js @@ -313,6 +313,8 @@ rrdFlot.prototype.bindFlotGraph = function(flot_obj) { // so when that is cleared, redraw also the graph $(scale_jq_id).bind("plotunselected", function() { rf_this.selection_range.reset(); + graph_options.xaxis.min=flot_obj.min; + graph_options.xaxis.max=flot_obj.max; rf_this.graph = $.plot($(graph_jq_id), rf_this.selection_range.trim_flot_data(flot_data), graph_options); }); }; -- cgit v1.1-4-g5e80