chartjs / chartjs/chartjs-plugin-zoom
pan jump if using x axis of type time
- Dominant language
- JavaScript
- Stars
- 623
- Forks
- 331
- Avg merge
- 7h 5m
- Merged PRs (30d)
- 7
Description
I have a candle stick chart, with temporal series, I use type: "time". During pan, after a number of move of the mouse, the pan jump or move continuously on the same side even if I move the pointer on the other direction.
I have tried lot of thing, the issue disappear if I use a "linear" type for x but in that case I have not the desired tick and formatting.
I have set limits on x correctly.
It seems worst when streaming data but it could occurs even when there is not data update.
The time type seems to modify something that interact in the wrong way during a pan.
Contributor guide
Research direction
Start by reproducing the reported candle stick chart with a time-based x axis, panning repeatedly in both directions and comparing it with a linear axis. Check whether streaming updates are required; done means panning remains stable in both directions with time ticks and formatting preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- chart.js, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100