简体   繁体   中英

How to make Highchart fill the whole bootstrap window?

I'm working with Bootstrap modal pop up window. I need to place a chart inside it and everything seems to work fine, but the chart doesn't fill the whole window. Also, what's important, the chart becomes as it must be after resizing the browser. Here's this on jsfiddle: https://jsfiddle.net/TheCyberNash/khbLsozv/ . I tried to add $(window).resize();" after creating the chart , but it didn't give any result. Thanks for any help!

www.jsfiddle.net/khbLsozv/2/

Simply styling the modal and the graph.

I did the stylign within the HTML, but change the %'s until you find a result you like, i just made it full screen :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM