Describe the bug
Sometimes charts are not rendered correctly in the layout step, if the user goes back and forth between the layout step and the editing mode.
To Reproduce
Steps to reproduce the behavior:
Go to 'test.visualiuze.admin.ch'
Select any data set and create a chart and duplicate it
Proceed to layout options, select Dashboard and Free Canvas and charts are rendered correctly
click the "back to editing" and add a new chart with a different data set
Proceed to layout options and see that the newly added chart is not rendered correctly
Expected behavior
I would expect to be able to move freely between the layout steps and editor mode, and have charts rendered correctly
Describe the bug Sometimes charts are not rendered correctly in the layout step, if the user goes back and forth between the layout step and the editing mode.
To Reproduce Steps to reproduce the behavior:
Expected behavior I would expect to be able to move freely between the layout steps and editor mode, and have charts rendered correctly
Screenshots or video
https://github.com/visualize-admin/visualization-tool/assets/29289679/9352f189-818b-4e30-bb58-0e69f29b55b7
Environment (please complete the following information):
Additional context Add any other context about the problem here.