hc_use: hc_use

View source: R/hc_use.R

hc_useR Documentation

hc_use

Description

Helper to import Highcharts files from a CDN. See https://github.com/superchordate/hcslim for more detailed documentation and examples.

Usage

hc_use(
  maps = FALSE,
  hc_paths = c(ifelse(maps, "maps/highmaps", "highcharts"), "modules/accessibility",
    "highcharts-more", "modules/exporting")
)

Arguments

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

Details

Author: Bryce Chamberlain

Value

List of HTML script import snippets to gather files from the CDN.


superchordate/hcslim documentation built on Feb. 20, 2025, 3:28 p.m.