hc_credits: Credits options for highcharter objects

View source: R/highcharts-api.R

hc_creditsR Documentation

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.

...

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


jbkunst/highcharter documentation built on March 14, 2024, 12:52 a.m.