A JavaScript Sparklines Library – Sparky
5
Dec
// php the_time('Y') ?>
Sparklines, the tiny charts that can be used near a sentence, headline, graphic.., are very handy for visualizing data inside the content.
Sparky is a free JavaScript sparklines library that depends on Raphaël and very easy to use.
It has support for multiple chart types (line, bar and area) where line + area charts can have multiple colors as well.
The usage is very straightforward; just create an HTML element (preferably <span> for inline use) and provide the values as an array with a data attribute. And, define the settings (width, height, colors, padding, etc.) with a JS function.
Requirements: Raphaël
Compatibility: All Major Browsers
Website: http://prag.ma/code/sparky/
Download: http://github.com/shawnbot/sparky
Compatibility: All Major Browsers
Website: http://prag.ma/code/sparky/
Download: http://github.com/shawnbot/sparky
- Tags:
Sparklines
- Filed under: Charts, Goodies, MIT License
- 0 Comments
Leave a reply











