hc_credits: Credits options for highcharter objects

Description Usage Arguments Examples

View source: R/highcharts-api.R

Description

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

Usage

1

Arguments

hc

A highchart htmlwidget object.

...

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

Examples

1
2
3
4
5
6
7
8
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/"
  )

highcharter documentation built on Jan. 3, 2022, 5:08 p.m.