kirjs / react-highcharts

React wrapper for Highcharts library

Home Page:http://kirjs.github.io/react-highcharts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chart not resizing with container

rajat-madaan opened this issue · comments

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.