chrisHchen / pieChart.js

a configrable pieChart on canvas element

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pieChart.js


image
pieChart.js is a configrable jQuery-plugin running on canvas element to show data in the pieChart.

it currently supports most mordern browsers include IE8 and lower. just remember to load excanvas.js if
you are running it on IE8, IE7 or lower

A callback function is also provided for more flexible DOM handling.

It is compatible running on high device pixel rate screens such as macbook retina, just

make sure loading the pollyfill 'hidpi-canvas.js' before pieChart.js is loaded

basic usage:

$('#canvasid').pieChart(opt, callback)

For more details see the provided test.html file

Enjoy!

About

a configrable pieChart on canvas element


Languages

Language:JavaScript 96.7%Language:HTML 3.3%