{"id":20752450,"url":"https://github.com/andhikayuana/simple-pie-chart-android","last_synced_at":"2025-04-28T14:09:28.006Z","repository":{"id":88789611,"uuid":"143623950","full_name":"andhikayuana/simple-pie-chart-android","owner":"andhikayuana","description":"Simple Pie Chart Android","archived":false,"fork":false,"pushed_at":"2018-11-08T09:45:13.000Z","size":192,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-28T14:09:22.156Z","etag":null,"topics":["android-canvas","chart","charts","pie-chart","pie-chart-android","simple-pie-chart-android"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/andhikayuana.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-05T15:17:58.000Z","updated_at":"2025-04-06T12:37:19.000Z","dependencies_parsed_at":"2023-06-12T15:00:13.706Z","dependency_job_id":null,"html_url":"https://github.com/andhikayuana/simple-pie-chart-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andhikayuana%2Fsimple-pie-chart-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andhikayuana%2Fsimple-pie-chart-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andhikayuana%2Fsimple-pie-chart-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andhikayuana%2Fsimple-pie-chart-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andhikayuana","download_url":"https://codeload.github.com/andhikayuana/simple-pie-chart-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251326839,"owners_count":21571636,"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":["android-canvas","chart","charts","pie-chart","pie-chart-android","simple-pie-chart-android"],"created_at":"2024-11-17T08:41:23.600Z","updated_at":"2025-04-28T14:09:27.997Z","avatar_url":"https://github.com/andhikayuana.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Pie Chart Android\n\nSimple PieChartView for Android\n\n[![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-Andhika%20Yuana-green.svg?style=flat )]( https://android-arsenal.com/details/1/7186 )\n\n![](example.png?raw=true)\n\n## Installation\n\nAdd it in your root build.gradle at the end of repositories:\n\n```gradle\nallprojects {\n    repositories {\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\nAdd the dependency\n\n```gradle\ndependencies {\n    implementation 'com.github.andhikayuana:simple-pie-chart-android:e7d9622aa9'\n}\n```\n\n## Usage\n\nyou can use like this\n```xml\n\u003cid.yuana.chart.pie.PieChartView\n        android:id=\"@+id/pieChart\"\n        android:layout_width=\"200dp\"\n        android:layout_height=\"200dp\" /\u003e\n```\n\n```java\npieChart.setDataPoints(floatArrayOf(450F, 1230F, 200F, 400F))\npieChart.setCenterColor(R.color.light_pink)\npieChart.setSliceColor(intArrayOf(\n                R.color.duck_egg_blue_two,\n                R.color.soft_pink,\n                R.color.washed_out_green,\n                R.color.sunshine_yellow))\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 -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Todos\n\n1. ?\n\n## License\n\nMIT License\n\nCopyright (c) 2018 Andhika Yuana\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandhikayuana%2Fsimple-pie-chart-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandhikayuana%2Fsimple-pie-chart-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandhikayuana%2Fsimple-pie-chart-android/lists"}