Tiny sparkline canvas graphs
JavaScript
Latest commit 69d461f Nov 23, 2012 @tj tj Release 0.0.3
Permalink
Failed to load latest commit information.
.gitignore Initial commit Nov 3, 2012
History.md Release 0.0.3 Nov 23, 2012
Makefile Initial commit Nov 3, 2012
Readme.md docs Nov 3, 2012
component.json Release 0.0.3 Nov 23, 2012
example.html Initial commit Nov 3, 2012
index.js fix height Nov 23, 2012

Readme.md

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