Learn R Programming

highcharter (version 0.9.4)

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
# NOT RUN {
hchart(rnorm(10)) %>%
  hc_elementId("newid")
# }

Run the code above in your browser using DataLab