Skip to contents

Spline property for a Billboard.js chart

Usage

bb_spline(bb, ...)

Arguments

bb

A `billboard` `htmlwidget` object.

...

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

Value

A `billboard` `htmlwidget` object.

Examples

# Customize spline interpolation
billboarder() %>%
  bb_linechart(data = c(1, 5, 3, 6, 2), type = "spline") %>%
  bb_spline(interpolation = list(type = "natural"))