Skip to contents

Options for the exporting module. For an overview on the matter, see the docs and read our Fair Usage Policy.

Usage

hc_exporting(hc, ...)

Arguments

hc

A highchart htmlwidget object.

...

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

Examples

# Open the chart menu to download the image or the underlying temperatures.
highcharts_demo() |>
  hc_exporting(
    enabled = TRUE,
    filename = "monthly-city-temperatures",
    buttons = list(
      contextButton = list(menuItems = c("downloadPNG", "downloadCSV"))
    )
  )