Hi everyone!
I’m having an issue with the dcc.Graph component. I have a figure, which I want to include in my dashboard, that has a lot of points in x direction, so I want to strech it a bit.
To do that, my code for this looks like this:
dcc.Graph(
id=“graph”,
style={‘overflowX’: ‘scroll’, ‘width’: 1080}
)
The figures width is set to 5000 in the layout.
Now when I load the figure, in a splitsecond, it gets protrayed correctly. But then very quickly, the figure reloads and is dispalyed just fitting to the width of 1080, instead of with a scrollbar.
How can I solve this issue?
Many Thanks!