Description Usage Arguments Author(s) Examples
This function must be called within a reactive shiny context.
1 2 | event_data(event = c("plotly_hover", "plotly_click", "plotly_selected",
"plotly_relayout"), source = "A")
|
event |
The type of plotly event. Currently 'plotly_hover', 'plotly_click', 'plotly_selected', and 'plotly_relayout' are supported. |
source |
Which plot should the listener be tied to? This
(character string) should match the value of |
Carson Sievert
1 2 3 4 | ## Not run:
shiny::runApp(system.file("examples", "plotlyEvents", package = "plotly"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.