Learn R Programming

highcharter (version 0.4.0)

hc_elementId: Setting elementId

Description

Function to modify the id for the container.

Usage

hc_elementId(hc, id = NULL)

Arguments

hc
A highchart htmlwidget object.
id
A string

Examples

Run this code

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

Run the code above in your browser using DataLab