Helpers to use highcharter as input in shiny apps
Source:R/highcharts-api-add.R
hc_add_event_point.Rd
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.
Usage
hc_add_event_point(hc, series = "series", event = "click")
hc_add_event_series(hc, series = "series", event = "click")
Arguments
- hc
A
highchart
htmlwidget
object.- series
The name of type of series to apply the event.
- event
The name of event: click, mouseOut, mouseOver. See https://api.highcharts.com/highcharts/plotOptions.areasplinerange.point.events.select for more details.