Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (14 sloc) 453 Bytes

sparkline

Tiny javascript sparkline canvas graphs.

js sparkline

Installation

$ component install component/sparkline

API

Sparkline(canvas)

Initialize with the given canvas.

Sparkline#update(data)

Update data points, a series of floats. The sparkline will be drawn and automatically compressed to fit within the canvas dimensions.

License

MIT