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

Panning is removing ticks to the left #765

Open
rsd opened this issue May 27, 2023 · 0 comments
Open

Panning is removing ticks to the left #765

rsd opened this issue May 27, 2023 · 0 comments

Comments

@rsd
Copy link

rsd commented May 27, 2023

When panning a chart, some ticks to the left (and the x grids) are gone.
Dragging back and forth a chart, it will redraw the x ticks/grids when they are in about 40% of the chart.

This is also happening in the samples
here: https://www.chartjs.org/chartjs-plugin-zoom/latest/samples/pan-region.html
and here: https://www.chartjs.org/chartjs-plugin-zoom/latest/samples/basic.html

To reproduce just click and drag (pan) these charts and observe the x ticks to the left.

E.g.
Before pan:
image

After pan:
image

Tested on Chrome 113.0.5672.127.

If this is the expected behavior, please point me on how to avoid this.

-rsd

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