PawelMarc / peity

Progressive <canvas> bar, line and pie charts

Home Page:http://benpickles.github.io/peity/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Peity

Peity (sounds like deity) is a simple jQuery plugin that converts an element's content into a simple mini canvas pie, line or bar chart.

Basic Usage

HTML

<span class="pie">3/5</span>
<span class="line">3,5,1,6,2</span>
<span class="bar">2,5,3,6,2,1</span>

Javascript (jQuery)

$("span.pie").peity("pie");
$("span.line").peity("line");
$("span.bar").peity("bar");

Docs

More detailed usage can be found at benpickles.github.io/peity.

Copyright

Copyright 2009-2013 Ben Pickles. See MIT-LICENCE for details.

About

Progressive <canvas> bar, line and pie charts

http://benpickles.github.io/peity/

License:MIT License