How can I make charts responsive ? #484
-
The const height and const width mentioned here https://pastebin.com/Q1MMAxJF shows a small plot but If I do const height = "100%"; It is showing blank plot. |
Beta Was this translation helpful? Give feedback.
Answered by
markmcdowell
Feb 23, 2021
Replies: 1 comment 5 replies
-
Use the withSize hoc to give the dimensions of the space you put it in. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
0xrushi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the withSize hoc to give the dimensions of the space you put it in.