After the browser renders the page, resizing the browser window will trigger the resize() event. After the resize() event is triggered, the data points are not correctly destroyed.
Expected Behavior
The data points should be correctly destroyed and refreshed.
I encountered this issue while writing code to render charts based on dynamic data: when I set the resize() property, changing the viewport size causes data points to become misaligned.
Version
5.5.1
Link to Minimal Reproduction
See the code below
Steps to Reproduce
The following is the Vue 3 code where the error occurs.
Current Behavior
After the browser renders the page, resizing the browser window will trigger the resize() event. After the resize() event is triggered, the data points are not correctly destroyed.
Expected Behavior
The data points should be correctly destroyed and refreshed.
Environment
Any additional comments?
I encountered this issue while writing code to render charts based on dynamic data: when I set the resize() property, changing the viewport size causes data points to become misaligned.