Stabilise X-Axis ticks while panning
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 463
- PR merge metrics
- No merged PRs in 30d
Description
Hi Leon,
we use uPLot to view timeseries data and the user is able to pan the chart. It works great for granularity of <= 1 Day. If the ticks get above that, the chart updates the grid and tick days when the chart range changes. It creates an unpleasant jitter in the background. It, would be nice to keep the ticks on the dates where they are on initially, and not switching to the best possible start date. Do you have any ideas how to solve it?
https://user-images.githubusercontent.com/6011776/201056128-3bc3bd39-abac-461f-b0d9-7245867acf49.mov
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the timeseries panning behavior described in the issue, using an x-axis range above one day. Inspect how x-axis ticks and the grid are recalculated as the chart range changes; done means panning no longer causes the tick dates and background grid to jitter while preserving appropriate labels.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100