get_hc_series_from_df function

Auxiliar function to get series and options from tidy frame for hchart.data.frame

Auxiliar function to get series and options from tidy frame for hchart.data.frame

This function is used in hchart.data.frame.

get_hc_series_from_df(data, type = NULL, ...)

Arguments

  • data: A data.frame object.
  • type: The type of chart. Possible values are line, scatter, point, column.
  • ...: Aesthetic mappings as x y group color low high.

Examples

highcharter:::get_hc_series_from_df(iris, type = "point", x = Sepal.Width)