From 0e4b828d7e193108f54e86d6cead3f79303b14ec Mon Sep 17 00:00:00 2001 From: Atul Pratap Singh Date: Tue, 11 Sep 2012 12:09:25 +0000 Subject: [PATCH] jqplot: fix refresh rate under monitor tab for now --- js/server_status_monitor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index ec1bd668ce..4f945e3c92 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -468,7 +468,8 @@ $(function() { runtime.xmax = new Date().getTime() - server_time_diff + monitorSettings.gridRefresh; $.each(runtime.charts, function(key, value) { - value.chart.xAxis[0].setExtremes(runtime.xmin, runtime.xmax, false); + value.chart['axes']['xaxis']['max'] = runtime.xmax; + value.chart['axes']['xaxis']['min'] = runtime.xmin; }); runtime.refreshTimeout = setTimeout(refreshChartGrid, monitorSettings.gridRefresh);