my_hc_ExportMenu | R Documentation |
Customise the contextual menu of highcharts plots.
my_hc_ExportMenu(hc, filename)
hc |
A highcharter object |
filename |
The filename under which the plot has to be saved |
A contextual menu for highcharts plots
Samuel Wieczorek
library("highcharter") hc <- highchart() hc_chart(hc,type = "line") hc_add_series(hc,data = c(29, 71, 40)) my_hc_ExportMenu(hc,filename='foo')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.