Thank you for your reply.
But the problem is it is making the width responsive but not the height.
I have a page, which contains a form in which the chart exists. So when I am trying to set both the width and height to 100%, it is taking the width to height ratio of the form and the height remains small. So when I am resizing my window vertically, the chart height is not changing.
Can you please tell me how I can solve this? I have tried other options like docking and anchoring but none is working.