Allow GRID and LINE snapping when drawing shapes
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Is your feature request related to a problem? Please describe.
Can't create shapes like lines (e.g. when drawline is enabled in the modebar) at EXACT positions on the grid or at other lines points
Describe the solution you'd like
Allow the user to enable grid and / or line snapping when drawing shapes
Describe alternatives you've considered
None
Additional context
These guys have it: https://pattycake.io/new/drawing
Contributor guide
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
The issue names no files or tests; start by locating the shape-drawing path used when drawline is enabled in the modebar, then trace how grid and other line points are represented. Done means users can enable grid and/or line snapping while drawing shapes and create lines or other shapes at exact positions, with coverage for the new behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100