Learn R Programming

highcharter (version 0.9.4)

hc_exporting: Exporting options for highcharter objects

Description

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

Usage

hc_exporting(hc, ...)

Arguments

hc

A highchart htmlwidget object.

Examples

Run this code
# NOT RUN {
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"
  )
# }

Run the code above in your browser using DataLab