hc_use | R Documentation |
Helper to import Highcharts files from a CDN. See https://github.com/superchordate/hcslim for more detailed documentation and examples.
hc_use(
maps = FALSE,
hc_paths = c(ifelse(maps, "maps/highmaps", "highcharts"), "modules/accessibility",
"highcharts-more", "modules/exporting")
)
maps |
Indicate if maps are needed. |
hc_paths |
Relative paths indicating which files to gather. Usually you can ignore this, the defaults should work. You may want to only send "highcharts" if you are running offline (Quarto, RMarkdown, RStudio). |
Author: Bryce Chamberlain
List of HTML script import snippets to gather files from the CDN.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.