hc_elementId: Setting 'elementId'

Description Usage Arguments Examples

View source: R/highcharts-api-helpers.R

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")

highcharter documentation built on Jan. 3, 2022, 5:08 p.m.