Skip to content

component/sparkline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tiny sparkline canvas graphs

Resources

Stars

Watchers

Forks

Packages

No packages published