{"id":18357907,"url":"https://github.com/zyj1022/rechartjs","last_synced_at":"2025-04-10T02:38:06.781Z","repository":{"id":57349169,"uuid":"139566831","full_name":"zyj1022/rechartjs","owner":"zyj1022","description":"React component for Chart.js","archived":false,"fork":false,"pushed_at":"2018-07-05T08:02:17.000Z","size":95,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-29T05:02:34.043Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://codeffe.com/demo/rechartjs/","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/zyj1022.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":"2018-07-03T10:26:29.000Z","updated_at":"2022-07-25T00:30:13.000Z","dependencies_parsed_at":"2022-08-29T18:40:39.091Z","dependency_job_id":null,"html_url":"https://github.com/zyj1022/rechartjs","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/zyj1022%2Frechartjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyj1022%2Frechartjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyj1022%2Frechartjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyj1022%2Frechartjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zyj1022","download_url":"https://codeload.github.com/zyj1022/rechartjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144677,"owners_count":21054968,"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-11-05T22:16:01.405Z","updated_at":"2025-04-10T02:38:06.760Z","avatar_url":"https://github.com/zyj1022.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rechartjs\n\nReact + Chart.js = Rechartjs\n\n\u003e React component for [Chart.js](http://www.chartjs.org)\n\n## 安装方法 Installation\n`npm install rechartjs chart.js --save`\n\n## 预览 [Demo](http://zyj1022.github.io/demos/rechartjs/)\n![chartjs]( http://og8z552x2.bkt.clouddn.com/chartjs1.jpg)\n\n## 本机运行\n\n`npm run dev`\n\n## 使用方法 Usage\n\n- data(必需)\n- options(可选)\n\n```\nimport { Bar, Line } from 'rechartjs'\n\n\u003cBar data={barData} options={barOptions} /\u003e\n\n\u003cLine data={lineData}  options={lineOptions} /\u003e\n\n```\n\n## Properties\n\n- data: PropTypes.object.isRequired\n- width: PropTypes.number\n- height: PropTypes.number\n- options: PropTypes.object\n\n\n## 图表类型 Chart type\n- line\n- bar\n- radar\n- doughnut\n- pie\n- polarArea\n- bubble\n- scatter\n- horizontalBar\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyj1022%2Frechartjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzyj1022%2Frechartjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyj1022%2Frechartjs/lists"}