Setting elementId
elementId
Function to modify the id for the container.
id
hc_elementId(hc, id = NULL)
hc
highchart
htmlwidget
hchart(rnorm(10)) %>% hc_elementId("newid")
Useful links