Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to modify existing selections #6168

Closed
alexcjohnson opened this issue Apr 7, 2022 · 1 comment
Closed

Ability to modify existing selections #6168

alexcjohnson opened this issue Apr 7, 2022 · 1 comment
Labels
feature something new

Comments

@alexcjohnson
Copy link
Collaborator

Another part of #1851 to discuss separately: we want to be able to modify an existing selection, either by dragging the whole thing around or by moving one point / corner / edge.

We have a couple of examples already where we draw handles on things: zoom boxes have corners when you're zooming in 2D, or rectangles when you're zooming in 1D:
Screen Shot 2022-04-07 at 17 05 37 (2)
Screen Shot 2022-04-07 at 17 06 46 (2)
Rangesliders also have rectangular handles:
Screen Shot 2022-04-07 at 17 09 48
Whereas editable shapes have draggable circles at their corners:
Screen Shot 2022-04-07 at 17 10 59

I think we should use rectangles on the edges and L shapes at the corners for adjusting rectangular selections, and circles at each vertex of a lasso. And if you drag the middle of any selection it translates the whole thing.

By default all of these handles can be white with black border, but let's make attributes to control the colors, sizes, and line widths.

@archmoj archmoj added the feature something new label Apr 25, 2022
@gvwilson
Copy link
Contributor

gvwilson commented Jul 3, 2024

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson

@gvwilson gvwilson closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

No branches or pull requests

3 participants