Skip to contents

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

Usage

bb_subchart(bb, ...)

Arguments

bb

A billboard htmlwidget object.

...

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

Value

A billboard htmlwidget object.

Examples


data("equilibre_mensuel")

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