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

Zooming in on a line chart on the category axis makes the line disappear #816

Open
fecipo opened this issue May 13, 2024 · 0 comments
Open

Comments

@fecipo
Copy link

fecipo commented May 13, 2024

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

after 1st tick of zoom:
image

after 2nd tick of zoom:
image

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

1 participant