Learn R Programming

billboarder (version 0.5.2)

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, ...)

Value

A `billboard` `htmlwidget` object.

Arguments

bb

A `billboard` `htmlwidget` object.

...

See <https://naver.github.io/billboard.js/release/latest/doc/Options.html#.subchart>

Examples

Run this code
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