{"id":13609729,"url":"https://github.com/jjoe64/GraphView","last_synced_at":"2025-04-12T20:32:17.215Z","repository":{"id":1017087,"uuid":"1995501","full_name":"jjoe64/GraphView","owner":"jjoe64","description":"Android Graph Library for creating zoomable and scrollable line and bar graphs.","archived":false,"fork":false,"pushed_at":"2023-01-11T03:13:55.000Z","size":3506,"stargazers_count":2772,"open_issues_count":176,"forks_count":812,"subscribers_count":127,"default_branch":"master","last_synced_at":"2025-04-11T00:53:16.303Z","etag":null,"topics":["android","android-library","graphs"],"latest_commit_sha":null,"homepage":"https://github.com/jjoe64/GraphView/wiki","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jjoe64.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2011-07-04T13:25:41.000Z","updated_at":"2025-04-06T12:01:11.000Z","dependencies_parsed_at":"2023-01-13T10:51:31.292Z","dependency_job_id":null,"html_url":"https://github.com/jjoe64/GraphView","commit_stats":null,"previous_names":["appsthatmatter/graphview"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjoe64%2FGraphView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjoe64%2FGraphView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjoe64%2FGraphView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjoe64%2FGraphView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jjoe64","download_url":"https://codeload.github.com/jjoe64/GraphView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322609,"owners_count":21084336,"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","android-library","graphs"],"created_at":"2024-08-01T19:01:37.511Z","updated_at":"2025-04-12T20:32:17.187Z","avatar_url":"https://github.com/jjoe64.png","language":"Java","readme":"# Chart and Graph Library for Android\n\n## Project maintainer wanted! For time reasons I can not continue to maintain GraphView. Contact me if you are interested and serious about this project. g.jjoe64@gmail.com\n\n## What is GraphView\n\nGraphView is a library for Android to programmatically create\nflexible and nice-looking diagrams.\nIt is **easy** to understand, to integrate and to customize.\n\nSupported graph types:\n* Line Graphs\n* Bar Graphs\n* Point Graphs\n* or implement your own custom types.\n\n\u003cimg src=\"https://raw.githubusercontent.com/jjoe64/GraphView/master/anim.gif\" title=\"Animation\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/jjoe64/GraphView/master/zooming.gif\" title=\"Zooming, Scrolling\" /\u003e\n\u003cimg src=\"https://lh3.googleusercontent.com/v2Ga3ReduITLtP3QJCc8GhOhBHzpyoKiW8SoRh35ydPP45f05BoDN3vSDJxvWB9uY0RU=h900-rw\" height=\"200\" /\u003e\n\u003cimg src=\"https://lh5.ggpht.com/29xLPw1BGGyyvUYgTsRt3E2rlGIH8lTbzYfnxuZJgNOT3hXy3Ggu4o3fPQZWw9u_aso=h900-rw\" height=\"200\" /\u003e\n\u003cimg src=\"http://www.android-graphview.org/uploads/4/1/5/7/41578917/6509264_orig.png\" height=\"200\" /\u003e\n\n## Top Features\n\n* Line Chart, Bar Chart, Points\n* Combination of different graph types\n* Scrolling vertical and horizontal\n. You can scroll with a finger touch move gesture.\n* Scaling / Zooming vertical and horizontal\n. With two-fingers touch scale gesture (Multi-touch), the viewport can be changed.\n* Realtime Graph (Live change of data)\n* Second scale axis\n* Draw multiple series of data\n. Let the diagram show more that one series in a graph. You can set a color and a description for every series.\n* Show legend\n. A legend can be displayed inline the chart. You can set the width and the vertical align (top, middle, bottom).\n* Custom labels\n. The labels for the x- and y-axis are generated automatically. But you can set your own labels, Strings are possible.\n* Handle incomplete data\n. It's possible to give the data in different frequency.\n* Viewport\n. You can limit the viewport so that only a part of the data will be displayed.\n* Manual Y axis limits\n* And much more... Check out the project page and/or the demo app\n\n## How to use\n\n1) Add gradle dependency:\n```\nimplementation 'com.jjoe64:graphview:4.2.2'\n```\n\n2) Add view to layout:\n```xml\n\u003ccom.jjoe64.graphview.GraphView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"200dip\"\n        android:id=\"@+id/graph\" /\u003e\n```\n\n3) Add some data:\n```java\nGraphView graph = (GraphView) findViewById(R.id.graph);\nLineGraphSeries\u003cDataPoint\u003e series = new LineGraphSeries\u003cDataPoint\u003e(new DataPoint[] {\n          new DataPoint(0, 1),\n          new DataPoint(1, 5),\n          new DataPoint(2, 3),\n          new DataPoint(3, 2),\n          new DataPoint(4, 6)\n});\ngraph.addSeries(series);\n```\n\n## Download Demo project at Google Play Store\n\n\u003cimg src=\"https://lh3.googleusercontent.com/yOrpE93m3N_Zr7kEUbnET6eFLGwmWA_a5kGa8XQcVrHeOse7K-zFN9s-gmwdRX3LN7A=w300-rw\" width=\"64\" /\u003e\u003cbr/\u003e\n\u003ca href=\"https://play.google.com/store/apps/details?id=com.jjoe64.graphview_demos\" title=\"GraphView Demos\"\u003eShowcase GraphView Demo App\u003c/a\u003e\n\n## More examples and documentation\n\n\u003ca href=\"https://github.com/jjoe64/GraphView/wiki\"\u003eGet started at project wiki homepage\u003c/a\u003e\n\nTo show you how to integrate the library into an existing project see the GraphView-Demos project!\nSee GraphView-Demos for examples.\n\u003ca href=\"https://github.com/jjoe64/GraphView-Demos\"\u003ehttps://github.com/jjoe64/GraphView-Demos\u003cbr/\u003e\n\u003ca href=\"https://github.com/jjoe64/GraphView/wiki\"\u003eView GraphView wiki page https://github.com/jjoe64/GraphView/wiki\u003c/a\u003e\n","funding_links":[],"categories":["Index `(light-weight pages)`","Java","图表(Chart)","Libs"],"sub_categories":["\u003cA NAME=\"Chart\"\u003e\u003c/A\u003eChart"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjoe64%2FGraphView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjjoe64%2FGraphView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjoe64%2FGraphView/lists"}