Chart width adapt to container div width?

hello. Is it possible via the API to make a chart adapt to master div width (and/or height) ? So if user resize browser window, chart width/height will adapt in % values of total ?


you may call resize() method on window resize:

var tr; window.onresize = function(){ if(tr) window.clearTimeout(tr); tr= window.setTimeout(function(){ yourChart.resize(); },100); }