Describe the bug
The responsive layout of the chart cannot shrink when the parent element is a flexbox, it can only grow to the size of the window.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The chart should resize within its container accordingly when made larger or smaller.
Demo
https://stackblitz.com/edit/ngxchart-flexbox-issue
ngx-charts version
12.0.1
Hello @andrewv86,
I think you should check marjan comment at #451 as workaround.
Cheers!
EDIT: I just saved you some time: forked flexbox issue demo.
Hello @andrewv86,
I think you should check marjan comment at #451 as workaround.
Cheers!
EDIT: I just saved you some time: forked flexbox issue demo.
Perfect! Thank you very much, closing this now.
Most helpful comment
Hello @andrewv86,
I think you should check marjan comment at #451 as workaround.
Cheers!
EDIT: I just saved you some time: forked flexbox issue demo.