chartjs-plugin-zoom icon indicating copy to clipboard operation
chartjs-plugin-zoom copied to clipboard

Bug: Line segments disappear (sometimes) when zoomScale() are called multiple times

Open bjorn-bakken opened this issue 1 year ago • 3 comments

See issue posted in react-chartjs-2

bjorn-bakken avatar Jul 30 '23 13:07 bjorn-bakken

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

bjorn-bakken avatar Jul 31 '23 15:07 bjorn-bakken

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.

elinake avatar Aug 01 '23 11:08 elinake

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

YuriyBC avatar Aug 01 '23 15:08 YuriyBC