hc_elementId: Setting elementId

Description Usage Arguments Examples

View source: R/api-hc-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 May 30, 2017, 1:47 a.m.

Search within the highcharter package
Search all R packages, documentation and source code