Hi,
I’m stuggling to get my charts to resize to the containing div in react.
I am using 2 charts synced.
<div> //This is 100% height and width
<div><CanvasJSChart1/></div>This is 25% height
<div><CanvasJSChart2/></div>This is 75% height
</Box>
When the charts are rendered they respect the width (say if I put 50% width) but do not respect the height. Always rendering at about 500px.
If I set the height manually the hight is respected. But I want this to fill the containing div.
In summary resizing works with width but not height.
Any ideas?
Paul