Fixed chart removing if empty array.

This commit is contained in:
Alexis Lahouze 2013-01-12 22:14:42 +01:00
parent 868cf3138a
commit b0f12e9616
1 changed files with 4 additions and 0 deletions

View File

@ -430,6 +430,8 @@ drawChart = function(entries, element) {
rendererOptions:{
}}],
});
} else {
window.chart = null;
}
};
@ -461,6 +463,8 @@ drawPieChart = function(entries, element) {
useAxesFormatters:false
}
});
} else {
window.pieChart = null;
}
};