I'm using a Chart.js (v4.4.1) in a React application with the usage of chartjs-plugin-zoom (v2.0.1) plugin to show some data in a line charts with one category axis and one linear axis for values.
Zooming in, in "xy" mode, until there is only one value on the category axis makes the line chart disappear.
I'm using a Chart.js (v4.4.1) in a React application with the usage of chartjs-plugin-zoom (v2.0.1) plugin to show some data in a line charts with one category axis and one linear axis for values.
Zooming in, in "xy" mode, until there is only one value on the category axis makes the line chart disappear.
without zoom:![image](https://github.com/chartjs/chartjs-plugin-zoom/assets/6988965/1532eab8-04d6-490f-8ffe-cf6778192a66)
after 1st tick of zoom:![image](https://github.com/chartjs/chartjs-plugin-zoom/assets/6988965/b4490d44-784c-400c-9e2c-b07ec05450cd)
after 2nd tick of zoom:![image](https://github.com/chartjs/chartjs-plugin-zoom/assets/6988965/a4b8f65c-6855-48e0-a1fc-53d46fc3f455)