Skip to content
Tiny sparkline canvas graphs
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
example.html
index.js

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

Something went wrong with that request. Please try again.