{"id":18569449,"url":"https://github.com/timeu/canvas-piechart","last_synced_at":"2026-01-24T16:36:41.813Z","repository":{"id":17321919,"uuid":"20092851","full_name":"timeu/canvas-piechart","owner":"timeu","description":"A Polymer-element for drawing a Piechart on HTML5 Canvas","archived":false,"fork":false,"pushed_at":"2017-05-25T19:10:27.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T14:02:54.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.webcomponents.org/element/timeu/canvas-piechart","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timeu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-23T08:46:26.000Z","updated_at":"2017-10-11T15:09:51.000Z","dependencies_parsed_at":"2022-09-08T12:20:12.228Z","dependency_job_id":null,"html_url":"https://github.com/timeu/canvas-piechart","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fcanvas-piechart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fcanvas-piechart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fcanvas-piechart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeu%2Fcanvas-piechart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timeu","download_url":"https://codeload.github.com/timeu/canvas-piechart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239301995,"owners_count":19616451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T22:34:11.625Z","updated_at":"2025-11-01T16:30:26.517Z","avatar_url":"https://github.com/timeu.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/timeu/canvas-piechart.svg?branch=master)](https://travis-ci.org/timeu/canvas-piechart) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/timeu/canvas-piechart)\n\n\n# \u0026lt;canvas-piechart\u0026gt;\n\n\u003e A web-component to draw a piechart using Polymer and HTML5 Canvas.\n\n**This branch (master) works only with Polymer 2.x. For a Polymer 1.x version check out the 1.x branch**\n\n## Versions (Polymer 2.x vs Polymer 1.x)\nThe *master* branch and all *2.x.x* releases require `Polymer 2.x`.\nFor `Polymer 1.x` support use *1.x.x* releases and the [1.x branch](https://github.com/timeu/canvas-piechart/tree/1.x).\n\n## Demo\n\u003e [Check it live](https://www.webcomponents.org/element/timeu/canvas-piechart).\n\n## Install\n\nInstall the component using [Bower](http://bower.io/):\n\n```sh\n$ bower install --save canvas-piechart\n```\n\nOr [download as ZIP](https://github.com/timeu/canvas-piechart/archive/master.zip).\n\n## Usage\n\n1. Import Web Components' polyfill:\n\n  ```html\n\u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n  ```\n\n2. Import Custom Element:\n\n  ```html\n\u003clink rel=\"import\" href=\"../canvas-piechart/canvas-piechart.html\"\u003e\n  ```\n\n3. Start using it!\n\n\u003c!---\n```\n\u003ccustom-element-demo\u003e\n  \u003ctemplate\u003e\n    \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"import\" href=\"canvas-piechart.html\"\u003e\n    \u003cnext-code-block\u003e\u003c/next-code-block\u003e\n  \u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n```html\n  \u003ccanvas-piechart size=\"250\" data=\"[10,20,50,20]\"\u003e\u003c/canvas-piechart\u003e\n```\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -m 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## History\n\nCheck [Release](https://github.com/timeu/canvas-piechart/releases) list.\n\n## License\n\n[MIT License](http://timeu.mit-license.org/) © Ümit Seren\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeu%2Fcanvas-piechart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimeu%2Fcanvas-piechart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeu%2Fcanvas-piechart/lists"}