Replies: 1 comment 1 reply
-
|
Hey @lapidus, <ParentSize>
{({ width, height }) => (
<XYChart
width={width}
height={/* base on width */}
{...}
/>
)}
</ParentSize> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The XYChart itself is responsive. But would we be a good way of responding to the parent containers width to set the height specifically?
I'd like to achieve something like this:
Beta Was this translation helpful? Give feedback.
All reactions