Chart.js
Chart.js copied to clipboard
Data disappearing with Scatter plot
Expected behavior
When I zoom into a scatter plot, the data should not disappear.
Current behavior
When I zoom into a scatter plot, then at some point the data disappears.
Reproducible sample
https://codesandbox.io/s/withered-microservice-stlwl6
Optional extra steps/info to reproduce
Don't zoom in too fast, one mouse-wheel step at a time. If you go to the center of the plot and zoom in, then after 5-6 steps the issue is apparent.
Possible solution
No response
Context
Trying to zoom into a lot of points
chart.js version
4.2.1
Browser name and version
Chrome Version 117.0.5938.63
Link to your project
No response
As I don't know if this issue is related to the zoom plugin, I have also opened an issue there https://github.com/chartjs/chartjs-plugin-zoom/issues/782
Also opened an SO question https://stackoverflow.com/q/77226116/1980846