Skip to content

Chart not resizing with container #473

Open
@rajat-madaan

Description

@rajat-madaan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions