Learn R Programming

highcharter (version 0.9.4)

hc_add_series.data.frame: hc_add_series for data frames objects

Description

hc_add_series for data frames objects

Usage

# S3 method for data.frame
hc_add_series(hc, data, type = NULL, mapping = hcaes(), fast = FALSE, ...)

Arguments

hc

A highchart htmlwidget object.

data

A data.frame object.

type

The type of the series: line, bar, etc.

mapping

The mapping, same idea as ggplot2.

fast

convert to json during the composition of a highchart object