size: {
width: document.getElementById(element).parentElement.clientWidth * 80 / 100
},
+ onresized: function () {
+ chart.resize({
+ width: document.getElementById(element).parentElement.clientWidth * 80 / 100
+ });
+ // chart.flush();
+ },
transition: {
duration: null
},