summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
});
};