Fixed chart removing if empty array.
This commit is contained in:
parent
868cf3138a
commit
b0f12e9616
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user