bb_zoom {billboarder} | R Documentation |
Zoom property for a Billboard.js chart
Description
Zoom property for a Billboard.js chart
Usage
bb_zoom(bb, ...)
Arguments
bb |
A |
... |
See https://naver.github.io/billboard.js/release/latest/doc/Options.html#.zoom |
Value
A billboard
htmlwidget
object.
Examples
# data
data("equilibre_mensuel")
# line chart
billboarder() %>%
bb_linechart(
data = equilibre_mensuel[, c("date", "consommation", "production")],
type = "spline"
) %>%
bb_x_axis(tick = list(format = "%Y-%m", fit = FALSE)) %>%
bb_zoom(enabled = TRUE)
[Package billboarder version 0.4.1 Index]