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
{{ message }}
Repository navigation
[Bug]: Line disappears when calling zoomScale() multiple times #1185
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.
Activity
tomas1646 commentedon Jul 31, 2023
Same here.
I've downgraded chart.js version to 4.3.0, and it's working correctly on that version.
bjorn-bakken commentedon Jul 31, 2023
I can confirm that downgrading chart.js to 4.3.0 fixes the issue for me to. Thank you @tomas1646!
StefanNedelchev commentedon Jul 31, 2023
I confirm the same behavior too. I downgraded to 4.3.0 as a temporary solution