summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorFrank Wuerthwein <fkw@ucsd.edu>2009-03-11 23:37:34 +0000
committerFrank Wuerthwein <fkw@ucsd.edu>2009-03-11 23:37:34 +0000
commit7e35890409073ceea96247451ea19427657377cd (patch)
tree59a4ef9cc30648312ce7feead01dd2ab727f4ad1 /src/lib
parent9f784e911d8179945a49eec8efbfc8a98f428b3b (diff)
Fix unselect
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/rrdFlot.js2
1 files changed, 2 insertions, 0 deletions
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);
});
};