hc_elementId function

Setting elementId

Setting elementId

Function to modify the id for the container.

hc_elementId(hc, id = NULL)

Arguments

  • hc: A highchart htmlwidget object.
  • id: A string

Examples

hchart(rnorm(10)) %>% hc_elementId("newid")