django-unfold icon indicating copy to clipboard operation
django-unfold copied to clipboard

fix: object overwriting when using multiple charts

Open BitTheByte opened this issue 2 months ago • 1 comments

This PR fixes an overwrite bug in the DEFAULT_CHART_OPTIONS as it was shared and mutated between chart instances resulting in a wrong rendering.

Before: image

After: image

BitTheByte avatar Apr 09 '24 19:04 BitTheByte

@BitTheByte thank your very much for PR. Would you mind to provide use-case how I can replicate the issue in the screenshot above? I want to test the functionality but I'm not sure where to start.

lukasvinclav avatar Apr 12 '24 10:04 lukasvinclav