hc_elementId {highcharter}R Documentation

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


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

[Package highcharter version 0.9.4 Index]