{"id":16294679,"url":"https://github.com/valve/g.raphael-radar","last_synced_at":"2025-03-20T04:30:37.357Z","repository":{"id":56875162,"uuid":"3245106","full_name":"Valve/g.raphael-radar","owner":"Valve","description":"Radar chart implemented with Raphael.js","archived":false,"fork":false,"pushed_at":"2013-10-02T10:45:18.000Z","size":159,"stargazers_count":25,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-17T14:22:15.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Valve.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}},"created_at":"2012-01-23T08:26:22.000Z","updated_at":"2023-03-26T16:53:28.000Z","dependencies_parsed_at":"2022-08-20T10:11:17.734Z","dependency_job_id":null,"html_url":"https://github.com/Valve/g.raphael-radar","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valve%2Fg.raphael-radar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valve%2Fg.raphael-radar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valve%2Fg.raphael-radar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valve%2Fg.raphael-radar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Valve","download_url":"https://codeload.github.com/Valve/g.raphael-radar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244551921,"owners_count":20470950,"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":[],"created_at":"2024-10-10T20:16:06.676Z","updated_at":"2025-03-20T04:30:36.718Z","avatar_url":"https://github.com/Valve.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\n                      __                 \n                     |  ]                \n _ .--.  ,--.    .--.| |  ,--.   _ .--.  \n[ `/'`\\]`'_\\ : / /'`\\' | `'_\\ : [ `/'`\\] \n | |    // | |,| \\__/  | // | |, | |     \n[___]   \\'-;__/ '.__.;__]\\'-;__/[___]  \n\n```\n\n\n# Raphaël radar chart\n\n## Radar chart implemented with [Raphael.js][raphael]\n\nWorks where Raphael.js works (Firefox 3.0+, Safari 3.0+, Chrome 5.0+, Opera 9.5+ and Internet Explorer 6.0+).\n\nOnly 2.35 KB (1.01KB gzipped) -very lightweight!\n\n## [Example](http://valve.github.com/g.raphael-radar/example)\n\n## Basic usage\n\n``` \nvar paper = Raphael('some_div_id', 800, 800);\npaper.radar(cx, cy, radius, data_array, options);\n```\n\nTo see real example, have a look at test/index.html \n\n### Options\n\nThis chart can be customized by passing the options that will override the default values, for example\n\n``` \npaper.radar(400, 400, 300, [4, 8, 15, 16, 23, 42],\n  {    \n    meshSize: 30,//the space between adjacent meshes,\n    labels: [\"USA\", \"Canada\", \"Sweden\", \"Ukraine\", \"Uzbekistan\", \"Russia\"],\n    labelFontSize: 20, //huge font\n    drawLabels: true, //to draw labels or not\n    armFill: 'none', //color of arm fill\n    armStroke: 'rgba(255, 106, 0, .5)', //color of arm stroke\n    armStrokeWidth: 1, //width of arm stroke\n    drawArms: true, //to draw arms or not\n    meshFill: 'none', //color of mesh fill\n    meshStroke: 'rgba(120, 120, 120, .5)', //color of mesh stroke\n    meshStrokeWidth: 1, //width of mesh stroke\n    drawMesh: true, //to draw mesh or not\n    max: 100, //maximum value, if not present, calculated from maximum value of data array\n    pathFill: 'none', //color of data path fill\n    pathStroke: '#0026ff', //color of data path stroke\n    pathStrokeWidth: 3, //data path stroke width\n    pathCircleOuterRadius: 4, //data path circle outer radius\n    pathCircleInnerRadius: 2, // data path circle inner radius\n    drawPathCircles: true //whether to draw the circles on the data path \n  });\n```\n\n### Installation\n\nIf you're on Rails, add this line to your gem file:\n\n`\ngem 'g.raphael-radar-rails'\n`\nThen, add a dependency to a sprocket file: \n\n`\n//= require 'g.radar'\n`\n\nIf you're not using rails, just copy the JavaScript to your scripts directory.\n\n### Licence\n\nThis code is [MIT][mit] licenced:\n\nCopyright (c) 2012 Valentin Vasilyev\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n[raphael]: http://raphaeljs.com/\n[mit]: http://www.opensource.org/licenses/mit-license.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalve%2Fg.raphael-radar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalve%2Fg.raphael-radar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalve%2Fg.raphael-radar/lists"}