{"id":13641869,"url":"https://github.com/DmitriyZaitsev/RadarChartView","last_synced_at":"2025-04-20T12:30:51.201Z","repository":{"id":70146040,"uuid":"70908574","full_name":"DmitriyZaitsev/RadarChartView","owner":"DmitriyZaitsev","description":"Android view (widget) for rendering radial diagrams","archived":false,"fork":false,"pushed_at":"2016-12-26T21:58:44.000Z","size":9364,"stargazers_count":491,"open_issues_count":4,"forks_count":70,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-09T12:39:33.168Z","etag":null,"topics":["android","chart","radar-chart","widget"],"latest_commit_sha":null,"homepage":"","language":"Java","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/DmitriyZaitsev.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":"2016-10-14T12:33:13.000Z","updated_at":"2024-10-22T02:38:46.000Z","dependencies_parsed_at":"2023-02-22T08:00:18.700Z","dependency_job_id":null,"html_url":"https://github.com/DmitriyZaitsev/RadarChartView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DmitriyZaitsev%2FRadarChartView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DmitriyZaitsev%2FRadarChartView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DmitriyZaitsev%2FRadarChartView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DmitriyZaitsev%2FRadarChartView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DmitriyZaitsev","download_url":"https://codeload.github.com/DmitriyZaitsev/RadarChartView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249893348,"owners_count":21341434,"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","chart","radar-chart","widget"],"created_at":"2024-08-02T01:01:25.178Z","updated_at":"2025-04-20T12:30:51.195Z","avatar_url":"https://github.com/DmitriyZaitsev.png","language":"Java","funding_links":[],"categories":["图表(Chart)"],"sub_categories":[],"readme":"# Android view (widget) for rendering radial diagrams\n\n\n## Demo\n\u003cimg src=\"/images/demo_01.gif\" width=\"33.3%\"\u003e\u003cimg src=\"/images/demo_02.gif\" width=\"33.3%\"\u003e\u003cimg src=\"/images/demo_03.gif\" width=\"33.3%\"\u003e\n## How to start\n\nFrom code\n```java\n// Prepare the data. We're going to show the top ten cheese producing U.S. states in 2013 (in 1,000 pounds)\nfinal Map\u003cString, Float\u003e axis = new LinkedHashMap\u003c\u003e(10);\naxis.put(\"CA\", 2312.895F);\naxis.put(\"ID\", 871.640F);\naxis.put(\"NY\", 751.280F);\naxis.put(\"NM\", 661.293F);\naxis.put(\"MN\", 661.293F);\naxis.put(\"PA\", 426.985F);\naxis.put(\"IA\", 267.249F);\naxis.put(\"OH\", 196.676F);\naxis.put(\"VT\", 127.346F);\n\n// Set your data to the view\nfinal RadarChartView chartView = (RadarChartView) findViewById(R.id.chartView);\nchartView.setAxis(axis);\n\nchartView.setAxisMax(2855.681F);         // set max value for the chart\nchartView.addOrReplace(\"WI\", 2855.681F); // add new axis\nchartView.addOrReplace(\"OH\", 281.59F);   // change the existing value\nchartView.setAutoSize(true);             // auto balance the chart\nchartView.setCirclesOnly(true);          // if you want circles instead of polygons\nchartView.setChartStyle(FILL);           // chart drawn with this style will be filled not stroked\n// ...\n// and many other attributes..\n```\n\nFrom XML\n```xml\n\u003ccom.dzaitsev.android.widget.RadarChartView\n  android:id=\"@+id/radar_chart\"\n  android:layout_width=\"match_parent\"\n  android:layout_height=\"wrap_content\"\n  android:background=\"#fff\"\n  android:padding=\"30dp\"\n  app:axisColor=\"#22737b\"\n  app:axisMax=\"280\"\n  app:axisTick=\"75\"\n  app:axisWidth=\"1dp\"\n  app:chartColor=\"#C8FF4081\"\n  app:chartStyle=\"stroke\"\n  app:chartWidth=\"3dp\"\n  app:circlesOnly=\"false\"\n  app:endColor=\"#c3e3e5\"\n  app:startColor=\"#5f9ca1\"\n  app:textSize=\"12sp\" /\u003e\n```\n\n## Download\n\nGrab via Gradle:\n```groovy\n// add this repository to your project\nallprojects {\n  repositories {\n    // ...\n    maven { url 'https://dl.bintray.com/dmitriyzaitsev/maven' }\n    // ...\n  }\n}\n```\n\n```groovy\ncompile 'com.dzaitsev.android.widget:radarchartview:0.1.0'\n```\n\nMaven:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.dzaitsev.android.widget\u003c/groupId\u003e\n    \u003cartifactId\u003eradarchartview\u003c/artifactId\u003e\n    \u003cversion\u003e0.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## License\n\n```\nCopyright 2016 Dmytro Zaitsev\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDmitriyZaitsev%2FRadarChartView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDmitriyZaitsev%2FRadarChartView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDmitriyZaitsev%2FRadarChartView/lists"}