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


sparkline documentation built on May 2, 2019, 11:02 a.m.