angularjs - Re-sizing problems in HighChart -


when page loads, featured charts present in page not take available width , overflows columns. however, when window re-sized or try investigate using inspect element, charts snap correct dimensions. behavior occurs in chrome, ff, , ie.

i have tried following no results :-(

<div id="container" style="width:100%;margin: 0 auto"></div> $(window).resize(); 

please help!!

i faced similar problem, , "fixed" issue delaying creation of chart:

settimeout(function () {   $(element).highcharts({...}); }, 0); 

more details there: highcharts dynamic (re-)sizing in angularjs tabs


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -