Learn R Programming

highcharter (version 0.9.4)

hc_credits: Credits options for highcharter objects

Description

Highchart by default puts a credits label in the lower right corner of the chart. This can be changed using these options.

Usage

hc_credits(hc, ...)

Arguments

hc

A highchart htmlwidget object.

Examples

Run this code
# NOT RUN {
highchart() %>%
  hc_xAxis(categories = citytemp$month) %>%
  hc_add_series(name = "Tokyo", data = sample(1:12)) %>%
  hc_credits(
    enabled = TRUE,
    text = "htmlwidgets.org",
    href = "http://www.htmlwidgets.org/"
  )
# }

Run the code above in your browser using DataLab