kirjs / react-highcharts

React wrapper for Highcharts library
http://kirjs.github.io/react-highcharts/
MIT License
1.25k stars 235 forks source link

Chart not resizing with container #473

Open rajat-madaan opened 3 years ago

rajat-madaan commented 3 years ago

Hello, I am using 'react-highcharts' inside the resizeable div elements. When I am resizing a div to make it big or small, The chart is not changing its height and width according to the container div. I am not able to find out any option or prop which can help me to fix this issue.

You can see the issue here: https://stackblitz.com/edit/react-gfrhxb

When you will click the parent div, Its height and width will be changed but the chart will not. I tried to change the chart svg and chart container width and height manually, But it's not working in a correct way.