{"id":17985309,"url":"https://github.com/anhmiuhv/android_realtime_graph_view","last_synced_at":"2026-05-02T03:32:10.557Z","repository":{"id":91107715,"uuid":"100251558","full_name":"anhmiuhv/android_realtime_graph_view","owner":"anhmiuhv","description":"An small android module to display a data stream in realtime","archived":false,"fork":false,"pushed_at":"2020-05-19T03:33:54.000Z","size":2143,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T02:26:07.175Z","etag":null,"topics":["android","data-stream","data-visualization","graph","realtime"],"latest_commit_sha":null,"homepage":"","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/anhmiuhv.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":"2017-08-14T09:36:46.000Z","updated_at":"2020-05-19T03:33:30.000Z","dependencies_parsed_at":"2023-03-11T04:31:40.428Z","dependency_job_id":null,"html_url":"https://github.com/anhmiuhv/android_realtime_graph_view","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/anhmiuhv/android_realtime_graph_view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhmiuhv%2Fandroid_realtime_graph_view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhmiuhv%2Fandroid_realtime_graph_view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhmiuhv%2Fandroid_realtime_graph_view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhmiuhv%2Fandroid_realtime_graph_view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anhmiuhv","download_url":"https://codeload.github.com/anhmiuhv/android_realtime_graph_view/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anhmiuhv%2Fandroid_realtime_graph_view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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","data-stream","data-visualization","graph","realtime"],"created_at":"2024-10-29T18:24:43.539Z","updated_at":"2026-05-02T03:32:10.526Z","avatar_url":"https://github.com/anhmiuhv.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android Realtime Graph View\n\nv0.2.0\n\nThis is a android view to display a data graph from a data stream in realtime.\n\n\u003cimage src=\"https://raw.githubusercontent.com/anhmiuhv/Android_RealTimeFunction/master/img/demo.gif\" width =\"270\"/\u003e\n\n\nSample project is in folder [app](./app)\n\n## Install\nTo get a Git project into your build:\n\nStep 1. Add the JitPack repository to your build file\n\nAdd it in your root build.gradle at the end of repositories:\n\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\nStep 2. Add the dependency\n\n\tdependencies {\n\t        implementation 'com.github.anhmiuhv:android_realtime_graph_view:Tag'\n\t}\n\n\n## How to use:\n\n```kotlin\nval view = //...RealtimeFunctionView\nval manager = view.manager\nmanager.addPoint(12f)\nmanager.addPoint(10f)\nmanager.addPoint(-4f)\nmanager.addPoint(12f)\n```\n\n### Customizable attributes:\n\n```html\n\u003cdeclare-styleable name=\"RealtimeFunctionView\"\u003e\n    \u003cattr name=\"lineWidth\" format=\"dimension\" /\u003e\n    \u003cattr name=\"background_color\" format=\"color\" /\u003e\n    \u003cattr name=\"line_color\" format=\"color\" /\u003e\n    \u003cattr name=\"interval\" format=\"float\" /\u003e\n\u003c/declare-styleable\u003e\n```\n\n## Advanced:\n\n### Custom Interpolator\n\n```kotlin\nmanager.interpolator = Interpolator.Cosine()\n//... or\nmanager.interpolator = Interpolator.Linear()\n```\n\n### Add the amount of time to get to the data value\n\n```kotlin\nmanager.addPoint(12f, 200) //Take 200 ms to get to this value, default = 1000ms\n```\n\n### Misc\n```kotlin\nview.scrollRate = 50f //change scroll rate, higher is faster\nview.refreshRate = 20f // each data point correspond to 20 ms\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanhmiuhv%2Fandroid_realtime_graph_view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanhmiuhv%2Fandroid_realtime_graph_view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanhmiuhv%2Fandroid_realtime_graph_view/lists"}