diff --git a/js/server_status.js b/js/server_status.js index b5132c002a..6f2912cf2e 100644 --- a/js/server_status.js +++ b/js/server_status.js @@ -481,7 +481,6 @@ $(function() { .hide() .after('
'); } - tabChart[$tab.attr('id')] = PMA_createChart(settings); $(link).html(PMA_messages['strStaticData']); $tab.find('.buttonlinks a.tabRefresh').hide(); $tab.find('.buttonlinks .refreshList').show(); diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index e3c564c967..7bc74673dd 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -477,7 +477,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);