hc_exporting: Exporting options for higcharts objects

Description Usage Arguments Examples

View source: R/api-hc.R

Description

Exporting options for higcharts objects. You can define the file's name or the output format.

Usage

1

Arguments

hc

A highchart htmlwidget object.

...

Arguments defined in http://api.highcharts.com/highcharts#exporting.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
require("dplyr")

data("citytemp")

highchart() %>% 
  hc_xAxis(categories = citytemp$month) %>% 
  hc_add_series(name = "Tokyo", data = citytemp$tokyo) %>% 
  hc_add_series(name = "London", data = citytemp$london) %>% 
  hc_exporting(enabled = TRUE,
               filename = "custom-file-name")

highcharter documentation built on May 19, 2017, 11:50 p.m.

Search within the highcharter package
Search all R packages, documentation and source code