Whenever the window is resized the height is getting increased dynamically and I am unable to provide max height to the chart.
Ditto. On resize, or on data changes the chart grows without limit. I just looked at #755, so this has been going on for 2 years without a fix. Guess I need a hew chart library. extremely frustrating.
Please provide a fix for the same either by calculating the height of the graph according to the screen size or any other better fix.
Not the best solution but as a temporary workaround you can force the chart's container to re-render when the window is resized which resets the height.
Most helpful comment
Please provide a fix for the same either by calculating the height of the graph according to the screen size or any other better fix.