plotly / plotly/plotly.R

event_data() for drawopenpath etc., in ggplotly

Open
#2,070 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am using ggplotly in shiny with some interactive options of selecting some points via the lasso functionality and handling it through event_data("plotly_selected") which looks good however the same functionality doesn't work for drawopenpath or drawclosedpath. Is there any way I could handle this? Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the ggplotly interaction in Shiny using event_data("plotly_selected") with drawopenpath and drawclosedpath. Check how these drawing interactions are exposed and determine what support is needed so their selections can be handled through event_data; done when the requested path selections are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.