Adding credits options to highchart objects

Share:

Description

highcarter by default don't put credits in the chart. You can add credits using these options.

Usage

1

Arguments

hc

A highchart htmlwidget object.

...

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

Examples

1
2
3
4
5
6
7
8
data("citytemp")

highchart() %>% 
  hc_xAxis(categories = citytemp$month) %>% 
  hc_add_series(name = "Tokyo", data = citytemp$tokyo, type = "bar") %>% 
  hc_credits(enabled = TRUE, text = "htmlwidgets.org",
             href = "http://www.htmlwidgets.org/")
             

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.