Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (14 sloc) 0.453 kb

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

Jump to Line
Something went wrong with that request. Please try again.