Create a Highcharts chart widget

Share:

Description

This function creates a Highchart chart using htmlwidgets. The widget can be rendered on HTML pages generated from R Markdown, Shiny, or other applications.

Usage

1
2
3
highchart(hc_opts = list(), theme = getOption("highcharter.theme"),
  type = "chart", width = NULL, height = NULL, elementId = NULL,
  debug = FALSE)

Arguments

hc_opts

A list object containing options defined as http://api.highcharts.com/highcharts.

theme

A hc_theme class object

type

A character value to set if use Highchart, Highstock or Highmap. Options are "chart", "stock" and "map".

width

A numeric input in pixels.

height

A numeric input in pixels.

elementId

Use an explicit element ID for the widget.

debug

A boolean value if you want to print in the browser console the parameters given to highchart.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.