-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@vx/responsive withParentSize height issue #141
Comments
Hi @gkunthara, thanks for checking out vx! Looks like the chart's Let me know if that doesn't fix it, happy to take a closer look. |
Thanks for the response. I changed Appreciate the help! |
@gkunthara I was able to get your code to work by specifying a height on the chart container, see Without some type of |
Hi @gkunthara, just checking in on this, were you able to get this sorted out? |
Yes, @williaster's solution worked for me! Thanks! |
Fairly new to React, (first time writing an issue on github) but am really like vx so far. I am having issues with responsive height for my graph. I have set up
parentHeight
andparentWidth
the exact same way as outlined from examples. When running my program, the width of my graph is perfectly responsive to the size of the browser screen. However, I am getting some really weird numbers forparentHeight
which constantly increases even when the height of the browser screen stays the same.Any ideas of the problem? Source.
The text was updated successfully, but these errors were encountered: