Function to modify the id for the container.
id
hc_elementId(hc, id = NULL)
hc
A highchart htmlwidget object.
highchart
htmlwidget
A string
hchart(rnorm(10)) %>% hc_elementId("newid")