When you use highcharter in a shiny app, for example
renderHighcharter('my_chart')
, you can access to the actions of the
user using and then use the hc_add_event_point
via the
my_chart
input (input$my_chart
). That's a way you can
use a chart as an input.
hc_add_event_point(hc, series = "series", event = "click")hc_add_event_series(hc, series = "series", event = "click")
A highchart
htmlwidget
object.
The name of type of series to apply the event.
The name of event: click, mouseOut, mouseOver. See https://api.highcharts.com/highcharts/plotOptions.areasplinerange.point.events.select for more details.