A web-component to draw a piechart using Polymer and SVG.
This branch (master) works only with Polymer 2.x. For a Polymer 1.x version check out the 1.x branch
The master branch and all 2.x.x releases require Polymer 2.x
.
For Polymer 1.x
support use 1.x.x releases and the 1.x branch.
Install the component using Bower:
$ bower install --save svg-piechart
Or download as ZIP.
- Import Web Components' polyfill:
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
- Import Custom Element:
<link rel="import" href="../svg-piechart/svg-piechart.html">
- Start using it!
<svg-piechart size="250" data="[10,20,50,20]"></svg-piechart>
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Check Release list.
MIT License © Ümit Seren