so my application has a sidebar, which docks in and out with a transition. The problem is, that the dcc.graph components dont respond to their parent divs width. They dont responsively scale up or down. Ive been hacking around with some javascript and dispatch a window resize event, which resizes alls the graphs according to the div, but the transition doesnt work smoothly, cuz u cant dispatch a window size trigger event more than 8 times in a second. Is there any way so that the graph is responsive to its parent?
What @mikesmith1611 says is true, and it’s a great start, but I’ve noticed that config = { 'responsive': True} isn’t always a bulletproof solution, especially in flex layouts or containers whose dimensions have changed from a callback.
The config solution wasnt really working for my case either. And yes, my workaround is basically the same as the one from the link. But nice to hear it is being worked on.