Learn R Programming

billboarder (version 0.2.4)

bb_subchart: Subchart property for a Billboard.js chart

Description

Create a subchart allowing to zoom and navigate on the chart.

Usage

bb_subchart(bb, ...)

Arguments

bb

A billboard htmlwidget object.

Value

A billboard htmlwidget object.

Examples

Run this code
# NOT RUN {
data("equilibre_mensuel")

billboarder() %>% 
  bb_linechart(data = equilibre_mensuel[, c("date", "production")], type = "spline") %>% 
  bb_subchart(show = TRUE)

# }

Run the code above in your browser using DataLab