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
},
},
zoom: {
enabled: true,
+ /*
onzoomend: function (domain) {
// UNIX epoch
var start = domain[0].getTime()/1000;
loaddays(this, element, days); // this = chart
}
}
+ */
},
tooltip: {
format: {