add a method for rapidly panning / scaling the view
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 463
- PR merge metrics
- No merged PRs in 30d
Description
path rebuilds can be expensive, so things like mouse-drag with large datasets can become problematic.
it should be possible to re-use the internally-cached Path2D objects and construct a transformation matrix to draw them in a shifted or scaled location while dragging, then do a real redraw & path rebuild when the mouse is released. should help a lot.
something like u.shift(hzPx, vtPx)
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 locating the cached Path2D drawing logic and the mouse-drag and release-redraw paths in the repository. Determine how a shift or scale operation could reuse those objects during interaction, then verify that releasing the mouse performs the normal redraw and path rebuild without changing final chart output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100