{"id":25505113,"url":"https://github.com/teddko/linechart","last_synced_at":"2026-03-16T18:34:20.354Z","repository":{"id":277490175,"uuid":"932576307","full_name":"TeddKo/LineChart","owner":"TeddKo","description":"LineChart - A Jetpack Compose library for creating customizable line charts with smooth animations. 📊 Supports real-time data updates, 🎨 customizable styling, and 📱 responsive design. Get started easily with a simple API and enjoy smooth, interactive charts!","archived":false,"fork":false,"pushed_at":"2025-07-11T15:34:32.000Z","size":257,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T13:30:58.816Z","etag":null,"topics":["android","chart","compose","jetpack-compose","line-chart"],"latest_commit_sha":null,"homepage":"","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/TeddKo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-02-14T06:15:50.000Z","updated_at":"2025-07-11T15:34:35.000Z","dependencies_parsed_at":"2025-02-14T07:31:53.558Z","dependency_job_id":"bd83054b-f4e0-4e8e-b389-5ef8b067c654","html_url":"https://github.com/TeddKo/LineChart","commit_stats":null,"previous_names":["teddko/linechart"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/TeddKo/LineChart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeddKo%2FLineChart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeddKo%2FLineChart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeddKo%2FLineChart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeddKo%2FLineChart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TeddKo","download_url":"https://codeload.github.com/TeddKo/LineChart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeddKo%2FLineChart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268689524,"owners_count":24291077,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","chart","compose","jetpack-compose","line-chart"],"created_at":"2025-02-19T05:58:35.477Z","updated_at":"2026-03-16T18:34:20.313Z","avatar_url":"https://github.com/TeddKo.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📈 LineChart\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://search.maven.org/artifact/io.github.teddko/linechart\"\u003e\u003cimg alt=\"MavenCentral\" src=\"https://img.shields.io/maven-central/v/io.github.teddko/linechart.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://android-arsenal.com/api?level=23\"\u003e\u003cimg alt=\"API\" src=\"https://img.shields.io/badge/API-23%2B-brightgreen.svg\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/Apache-2.0\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/badge/License-Apache%202.0-blue.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eJetpack Compose\u003c/strong\u003e library for creating customizable line charts with smooth animations.\n\u003c/p\u003e\n\n# 🚀 Features\n* 🎯 Smooth animations using Jetpack Compose\n* 📊 Supports multiple data points and real-time updates\n* 🎨 Customizable styling, axis labels, and grid lines\n* 📱 Responsive and adaptive layout\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/2e54e9c0-27a5-4381-b012-ce9675fb1f0d\" width=\"480\"/\u003e\n\u003c/p\u003e\n\n# 📦 Installation\n\n```kotlin\ndependencies {\n    implementation(\"io.github.teddko:linechart:1.0.0\")\n}\n```\n\n# 📖 Basic Usage\n\n```kotlin\n@Composable\nfun LineChartDemo() {\n    // Create sample data points\n    val chartData = listOf(\n        ChartData(cumulativeProfit = 100.0, date = System.currentTimeMillis()),\n        ChartData(cumulativeProfit = 150.0, date = System.currentTimeMillis() + 86400000),\n        ChartData(cumulativeProfit = 130.0, date = System.currentTimeMillis() + 172800000),\n        ChartData(cumulativeProfit = 200.0, date = System.currentTimeMillis() + 259200000)\n    )\n\n    val state = rememberLineChartState(\n        items = chartData,\n        maxDataPoints = 20,  // Optional: limit number of points\n        yAxisTicksCount = 5  // Optional: number of y-axis labels\n    )\n\n    LineChartPanel(\n        modifier = Modifier.fillMaxWidth(),\n        chartHeight = 300.dp,\n        state = state\n    )\n}\n```\n\n# 🎨 Customization\n\n```kotlin\n@Composable\nfun CustomizedLineChart() {\n    val chartData = listOf(\n        ChartData(cumulativeProfit = 50.0, date = System.currentTimeMillis()),\n        ChartData(cumulativeProfit = 75.0, date = System.currentTimeMillis() + 86400000),\n        ChartData(cumulativeProfit = 60.0, date = System.currentTimeMillis() + 172800000),\n        ChartData(cumulativeProfit = 90.0, date = System.currentTimeMillis() + 259200000)\n    )\n\n    val state = rememberLineChartState(\n        items = chartData,\n        maxDataPoints = 10,        // Show maximum 10 points\n        yAxisTicksCount = 6,       // Show 6 labels on Y-axis\n        scaleFactor = 10000,       // Scale factor for values\n        strokeWidth = 3.dp         // Custom line thickness\n    )\n\n    LineChartPanel(\n        modifier = Modifier\n            .fillMaxWidth()\n            .padding(16.dp),\n        chartHeight = 400.dp,      // Custom chart height\n        state = state\n    )\n}\n```\n\n# 🛠️ Development Environment\n* **Kotlin 2.0+**\n* **Android Studio Hedgehog+**\n* **Jetpack Compose 1.7+**\n* **Gradle Kotlin DSL applied**\n\n# 📝 License\nThis project is licensed under the Apache 2.0 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteddko%2Flinechart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteddko%2Flinechart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteddko%2Flinechart/lists"}