https://github.com/timeu/canvas-piechart
A Polymer-element for drawing a Piechart on HTML5 Canvas
https://github.com/timeu/canvas-piechart
Last synced: 6 months ago
JSON representation
A Polymer-element for drawing a Piechart on HTML5 Canvas
- Host: GitHub
- URL: https://github.com/timeu/canvas-piechart
- Owner: timeu
- Created: 2014-05-23T08:46:26.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-05-25T19:10:27.000Z (about 9 years ago)
- Last Synced: 2025-01-26T14:02:54.947Z (over 1 year ago)
- Language: HTML
- Homepage: https://www.webcomponents.org/element/timeu/canvas-piechart
- Size: 14.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/timeu/canvas-piechart) [](https://www.webcomponents.org/element/timeu/canvas-piechart)
# <canvas-piechart>
> A web-component to draw a piechart using Polymer and HTML5 Canvas.
**This branch (master) works only with Polymer 2.x. For a Polymer 1.x version check out the 1.x branch**
## Versions (Polymer 2.x vs Polymer 1.x)
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](https://github.com/timeu/canvas-piechart/tree/1.x).
## Demo
> [Check it live](https://www.webcomponents.org/element/timeu/canvas-piechart).
## Install
Install the component using [Bower](http://bower.io/):
```sh
$ bower install --save canvas-piechart
```
Or [download as ZIP](https://github.com/timeu/canvas-piechart/archive/master.zip).
## Usage
1. Import Web Components' polyfill:
```html
```
2. Import Custom Element:
```html
```
3. Start using it!
```html
```
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## History
Check [Release](https://github.com/timeu/canvas-piechart/releases) list.
## License
[MIT License](http://timeu.mit-license.org/) © Ümit Seren