highcharter (version 0.7.0)

hc_credits: Setting credits options to highchart objects

Description

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

Usage

hc_credits(hc, ...)

Arguments

hc

A highchart htmlwidget object.

Examples

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

Run the code above in your browser using DataLab