Learn R Programming

billboarder (version 0.5.2)

bb_spline: Spline property for a Billboard.js chart

Description

Spline property for a Billboard.js chart

Usage

bb_spline(bb, ...)

Value

A `billboard` `htmlwidget` object.

Arguments

bb

A `billboard` `htmlwidget` object.

...

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

Examples

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

Run the code above in your browser using DataLab