Skip to contents

Function to modify the id for the container.

Usage

hc_elementId(hc, id = NULL)

Arguments

hc

A highchart htmlwidget object.

id

A string

Examples


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