Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (15 sloc) 0.693 kb

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.com/peity.

Copyright

Copyright 2009-2012 Ben Pickles. See MIT-LICENSE for details.

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