Chart should ideally resize itself to fill the container whenever window resizes. But if the container itself is not resizing, then chart won’t resize either.
I also wanted to know if it is possible to have a dropdown menu from which the graphs can be displayed ?
Here is an example.