diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index 1a9d890782..a067106a79 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -986,7 +986,7 @@ $(function() { /* Adds a chart to the chart grid */ function addChart(chartObj, initialize) { - series = []; +/* series = []; for (var j = 0; j'); } - $('table#chartGrid tr:last').append('
'); + $('table#chartGrid tr:last').append('
'); } - //chartObj.chart = PMA_createChart(settings); - chartObj.chart = $.jqplot(settings.chart.renderTo, [[0,0]], settings1); + chartObj.chart = $.jqplot('gridchart' + runtime.chartAI, [[0,0]], settings); chartObj.numPoints = 0; - + if (initialize != true) { runtime.charts['c' + runtime.chartAI] = chartObj; buildRequiredDataList();