hc_elementId: Setting 'elementId'

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

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

jbkunst/highcharter documentation built on March 14, 2024, 12:52 a.m.