You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check this if you would like to implement a PR, we are more than happy to help you go through the process.
Current and expected behavior
I have a simple line chart with type of x scale set to time and two buttons to set zoom to one and two weeks respectivly for the x-axis.
When zoomScale(...) is called multiple times, some line segments disappears (but the markers are still there). If data are more well behaved (ie. not flucuating to much) I don¨t get the same problem.
Would you like to work on a fix?
Current and expected behavior
I have a simple line chart with type of x scale set to
time
and two buttons to set zoom to one and two weeks respectivly for the x-axis.When
zoomScale(...)
is called multiple times, some line segments disappears (but the markers are still there). If data are more well behaved (ie. not flucuating to much) I don¨t get the same problem.Illustrated in gif below.
Reproduction
https://codesandbox.io/p/sandbox/magical-driscoll-l3jzzw?file=%2Fpackage.json%3A1%2C1
chart.js version
v4.3.2
react-chartjs-2 version
5.2.0
Possible solution
The bug (if that is what it is) might well be in
chart.js
orchartjs-plugin-zoom
. I will create a related issue with them also.The text was updated successfully, but these errors were encountered: