https://github.com/samccone/piechart
pieChart
https://github.com/samccone/piechart
Last synced: about 1 year ago
JSON representation
pieChart
- Host: GitHub
- URL: https://github.com/samccone/piechart
- Owner: samccone
- License: other
- Created: 2012-11-12T21:52:29.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-13T18:09:04.000Z (about 13 years ago)
- Last Synced: 2025-03-26T10:48:03.599Z (over 1 year ago)
- Language: JavaScript
- Size: 207 KB
- Stars: 11
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
This Is PieChart
PieChart is a simple way to make beautiful donught style pie charts. It has the options for gradient fills and animations.
after seeing a deluge of charts in this style I decided to make a plugin to ease your development of them
how to use
pieChart({
fillPercent: 95,
backgroundStrokeColor: "blue", //optional
foregroundStrokeColor: "green", //optional
animationRate: 5, //optional
animationTick: function(angle) { console.log("currently at "+angle)}, //optional
radius: 120, //optional
stroke: 12, //optional
container: document.getElementById('ff') //optional
});