Skip to contents

Options for the exporting module. For an overview on the matter, see the docs.

Usage

hc_exporting(hc, ...)

Arguments

hc

A highchart htmlwidget object.

...

Arguments defined in https://api.highcharts.com/highcharts/exporting.

Examples


highchart() %>%
  hc_xAxis(categories = month.abb) %>%
  hc_add_series(name = "Tokyo", data = sample(1:12)) %>%
  hc_exporting(
    enabled = TRUE, # always enabled
    filename = "custom-file-name"
  )