highchart2 | R Documentation |
This widgets don't support options yet.
highchart2(
hc_opts = list(),
theme = getOption("highcharter.theme"),
type = "chart",
width = NULL,
height = NULL,
elementId = NULL,
google_fonts = getOption("highcharter.google_fonts")
)
highchartzero(
hc_opts = list(),
theme = NULL,
width = NULL,
height = NULL,
elementId = NULL
)
hc_opts |
A |
theme |
A |
type |
A character value to set if use Highchart, Highstock or
Highmap. Options are |
width |
A numeric input in pixels. |
height |
A numeric input in pixels. |
elementId |
Use an explicit element ID for the widget. |
google_fonts |
A boolean value. If TRUE (default), adds a reference to the Google Fonts API to the HTML head, downloading CSS for the font families defined in the Highcharts theme from https://fonts.googleapis.com. Set to FALSE if you load your own fonts using CSS. |
This function creates a Highchart chart using htmlwidgets. The widget can be rendered on HTML pages generated from R Markdown, Shiny, or other applications.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.