Learn R Programming

highcharter (version 0.4.0)

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

Description

This function is used in hchart.data.frame and hc_add_series_df

Usage

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

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

Run this code

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

Run the code above in your browser using DataLab