| export_hc {highcharter} | R Documentation |
Function to export js file the configuration options
export_hc(hc, filename = NULL)
hc |
A |
filename |
A string |
fn <- "function(){
console.log('Category: ' + this.category);
alert('Category: ' + this.category);
}"
hc <- highcharts_demo() %>%
hc_plotOptions(
series = list(
cursor = "pointer",
point = list(
events = list(
click = JS(fn)
)
)
)
)