chartjs / chartjs/chartjs-plugin-zoom

chart data position not updating during pan after zoom

Open
#942 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
623
Forks
331
Avg merge
7h 5m
Merged PRs (30d)
7

Description

The chart data doesn't update when panning after it was zoomed shortly before.
Here is an example demonstrating the issue

https://github.com/user-attachments/assets/a5cf1eb2-4e52-4bf8-98d5-0ac2738b9cea

https://codepen.io/vegita2/pen/rNqvVvx

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior in the linked CodePen and compare the chart data position while panning immediately after zooming. Trace the plugin entry points involved in zoom and pan handling, then confirm that chart data updates correctly after this sequence without breaking ordinary panning or zooming.

Written by the indexing model from the issue text.

Assessment

Tech stack
chart.js, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.