{"id":13668611,"url":"https://github.com/tehras/charts","last_synced_at":"2026-02-01T07:33:44.855Z","repository":{"id":38413505,"uuid":"272231828","full_name":"tehras/charts","owner":"tehras","description":"Simple Android compose charts.","archived":false,"fork":false,"pushed_at":"2023-09-27T12:43:47.000Z","size":7871,"stargazers_count":738,"open_issues_count":12,"forks_count":66,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-27T01:33:16.867Z","etag":null,"topics":["android","charts","jetpack-compose","jetpack-compose-charts"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tehras.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-06-14T15:40:31.000Z","updated_at":"2025-04-26T04:57:03.000Z","dependencies_parsed_at":"2024-01-14T16:14:41.381Z","dependency_job_id":"4b30c5a4-df02-4a80-859c-498bfb2b63f0","html_url":"https://github.com/tehras/charts","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tehras/charts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehras%2Fcharts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehras%2Fcharts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehras%2Fcharts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehras%2Fcharts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tehras","download_url":"https://codeload.github.com/tehras/charts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehras%2Fcharts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28972579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T06:46:42.625Z","status":"ssl_error","status_checked_at":"2026-02-01T06:44:56.173Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","charts","jetpack-compose","jetpack-compose-charts"],"created_at":"2024-08-02T08:00:43.378Z","updated_at":"2026-02-01T07:33:44.841Z","avatar_url":"https://github.com/tehras.png","language":"Kotlin","funding_links":[],"categories":["Kotlin","Libraries","Miscellaneous"],"sub_categories":["UI"],"readme":"# Compose Charts\n\nThis is a library that Draws and animates charts using Android Jetpack Compose library.\n\n## Implementation:\n\nlatest_release  =  ![Release](https://jitpack.io/v/tehras/charts.svg)\n\nbuild.gradle (app)\n```groovy\ndependecies {\n    implementation \"com.github.tehras:charts:$latest_release\"\n}\n```\n\nsettings.gradle\n```\nrepositories {\n    google()\n    mavenCentral()\n    maven { url 'https://jitpack.io'}\n}\n```\n\n## How it looks:\n\n\u003cimg src=\"/assets/pie_chart.gif\" width=\"200\"\u003e \u003cimg src=\"/assets/bar_chart.gif\" width=\"200\"\u003e \u003cimg src=\"/assets/line_chart.gif\" width=\"200\"\u003e\n\n## How to use Pie Chart:\n\n```kotlin\n@Composable\nfun MyChartParent() {\n    PieChart(\n        pieChartData = PieChartData(listOf(Slice(...), Slice(...),....)),\n    // Optional properties.\n    modifier = Modifier.fillMaxSize(),\n    animation = simpleChartAnimation(),\n    sliceDrawer = SimpleSliceDrawer()\n    )\n}\n```\n\n## How to use Bar Chart:\n\n```kotlin\n@Composable\nfun MyBarChartParent() {\n    fun BarChart(\n        barChartData = BarChartData(bars = listOf(Bar(label = \"Bar Label\", value = 100f, color = Color.Red)),\n            // Optional properties.\n            modifier = Modifier.fillMaxSize(),\n            animation = simpleChartAnimation(),\n            barDrawer = SimpleBarDrawer(),\n            xAxisDrawer = SimpleXAxisDrawer(),\n            yAxisDrawer = SimpleYAxisDrawer(),\n            labelDrawer = SimpleValueDrawer()\n        )\n}\n```\n\n## How to use Line Chart:\n\n```kotlin\n@Composable\nfun MyLineChartParent() {\n    LineChart(\n        linesChartData = listOf(LineChartData(points = listOf(LineChartData.Point(1f,\"Label 1\"), ...))),\n    // Optional properties.\n    modifier = Modifier.fillMaxSize(),\n    animation = simpleChartAnimation(),\n    pointDrawer = FilledCircularPointDrawer(),\n    lineDrawer = SolidLineDrawer(),\n    xAxisDrawer = SimpleXAxisDrawer(),\n    yAxisDrawer = SimpleYAxisDrawer(),\n    horizontalOffset = 5f,\n    labels = listOf(\"label 1\" ...)\n    )\n}\n```\n\n## License\n\n    Copyright 2020 Taras Koshkin.\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftehras%2Fcharts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftehras%2Fcharts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftehras%2Fcharts/lists"}