Initial display is wrong

This commit is contained in:
Marc Delisle 2012-09-08 08:40:07 -04:00
parent fb7b1c1582
commit 8ade1115d7

View File

@ -148,6 +148,9 @@ $(function() {
}
drawChart();
$('div#querychart').height($('div#resizer').height() * 0.96);
$('div#querychart').width($('div#resizer').width() * 0.96);
currentChart.replot( {resetAxes: true})
$('#querychart').show();
});
@ -210,8 +213,6 @@ function PMA_queryChart(data, passedSettings, passedNonJqplotSettings)
break;
case 'pie':
// only available for a specific column
// todo: warn the user about this
if (chart_series.length == 1) {
series[0] = new Array();
$.each(data,function(key,value) {