This function creates a Highchart chart using htmlwidgets. The widget can be rendered on HTML pages generated from R Markdown, Shiny, or other applications.
Arguments
- hc_opts
A
listobject containing options defined as https://api.highcharts.com/highcharts/.- theme
A
hc_themeclass 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.
- 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 option as default is controlled by
"highcharter.google_fonts"option.
