Skip to contents

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.

...

Arguments defined in https://api.highcharts.com/highcharts/credits.

Examples


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/"
    )