Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line segments disappear sometimes when points are out of chartArea #11955

Open
bjorn-bakken opened this issue Jul 30, 2023 · 3 comments
Open

Comments

@bjorn-bakken
Copy link

See issue posted in react-chartjs-2

@bjorn-bakken
Copy link
Author

bjorn-bakken commented Jul 31, 2023

Not an issue if downgrading to chart.js 4.3.0. I guess this means it's a chart.js problem. See this comment.

@elinake
Copy link

elinake commented Aug 1, 2023

I have same issue: https://stackblitz.com/edit/stackblitz-starters-ngv2t8?file=src%2Fapp%2Fapp.component.ts

Bug happens with both wheel and drag and on all axis modes. I have linear scales and no limits. Downgrading to Chartjs 4.3.0 fixed it.

I also noticed that same issue happens in chartjs-plugin-zoom Click-to-zoom sample (only sample with linear scale): https://www.chartjs.org/chartjs-plugin-zoom/latest/samples/wheel/click-zoom.html, even though it says be using ChartJs 4.2.1.

@YuriyBC
Copy link

YuriyBC commented Aug 1, 2023

Same issue. Seems like problem with >4.3.1. 4.3.0 (last update 3 month ago) works for me

@kurkle kurkle transferred this issue from chartjs/chartjs-plugin-zoom Nov 17, 2024
@kurkle kurkle changed the title Bug: Line segments disappear (sometimes) when zoomScale() are called multiple times Line segments disappear sometimes when points are out of chartArea Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants