sparkline: Interactive Sparklines

Description Usage Arguments

View source: R/sparkline.R

Description

Create interactive sparklines for inline visualization.

Usage

1
2
sparkline(values, ..., width = 60, height = 20, elementId = NULL,
  renderSelector = NULL)

Arguments

values

vector of values to visualize

...

additional options passed to jquery.sparkline; see jquery.sparkline docs

height, width

height and width of sparkline htmlwidget specified in any valid CSS size unit.

elementId

string id as a valid CSS element id.

renderSelector

string as CSS selector to render in a DOM element other than the htmlwidget container


htmlwidgets/sparkline documentation built on May 17, 2019, 6:16 p.m.