Setting elementId

Share:

Description

Function to modify the id for the container.

Usage

1
hc_elementId(hc, id = NULL)

Arguments

hc

A highchart htmlwidget object.

id

A string

Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.