{"id":19519938,"url":"https://github.com/opentiny/tiny-charts","last_synced_at":"2025-04-12T22:34:31.462Z","repository":{"id":236935156,"uuid":"793458673","full_name":"opentiny/tiny-charts","owner":"opentiny","description":"OpenTiny HUICharts 是一套功能强大的前端可视化图表库，为Web开发者提供了40多个图表组件，支持主题定制、响应式和无障碍等丰富的能力，且完全兼容 ECharts 的 API。","archived":false,"fork":false,"pushed_at":"2025-04-11T07:40:01.000Z","size":63672,"stargazers_count":82,"open_issues_count":8,"forks_count":26,"subscribers_count":8,"default_branch":"dev","last_synced_at":"2025-04-11T09:46:22.992Z","etag":null,"topics":["charting-library","charts","data-visualization","echarts","frontend","opentiny","tiny-charts","visualization"],"latest_commit_sha":null,"homepage":"https://opentiny.design/tiny-charts/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opentiny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-04-29T09:04:44.000Z","updated_at":"2025-04-11T07:40:05.000Z","dependencies_parsed_at":"2024-05-13T08:46:01.012Z","dependency_job_id":"97b49833-253b-452d-afee-f7367fcf77d7","html_url":"https://github.com/opentiny/tiny-charts","commit_stats":{"total_commits":82,"total_committers":14,"mean_commits":5.857142857142857,"dds":0.8414634146341463,"last_synced_commit":"6806b898548f092cb62c9c2bcb97eebf4716fa70"},"previous_names":["opentiny/tiny-charts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentiny%2Ftiny-charts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentiny%2Ftiny-charts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentiny%2Ftiny-charts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentiny%2Ftiny-charts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opentiny","download_url":"https://codeload.github.com/opentiny/tiny-charts/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248377751,"owners_count":21093872,"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":["charting-library","charts","data-visualization","echarts","frontend","opentiny","tiny-charts","visualization"],"created_at":"2024-11-11T00:22:49.801Z","updated_at":"2025-04-12T22:34:31.439Z","avatar_url":"https://github.com/opentiny.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://opentiny.design/tiny-vue\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cimg alt=\"OpenTiny Logo\" src=\"logo.svg\" height=\"100\" style=\"max-width:100%;\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eOpenTiny HUICharts is a powerful set of front-end visualization chart libraries, which provides more than 40 chart components for web developers. It supports a variety of capabilities such as theme customization, responsiveness, and accessibility, and is fully compatible with ECharts's API.\u003c/p\u003e\n\nEnglish | [简体中文](README.zh-CN.md)\n\n🌈 Features:\n\n- 📦  Contains over 40 concise and easy-to-use chart components\n- 🖖  One set of code supports Vue, Angular, and React frameworks simultaneously\n- 🎨  Integrate multiple theme specifications and support theme customization\n- 💡  Integrated features such as adaptive, performance improvement, accessibility, and scale optimization\n\n## 🛠️ Usage\n\n### 1. Installation\n\n1. Prepare the environment. Ensure that Node.js is installed and the Node.js version is 10.13 or later. Run the `node -v` command to check the node version.\n2. Check the current version of the library `npm show @opentiny/huicharts`.\n3. Use the NPM to install the component library of the latest version: `npm install @opentiny/huicharts@latest --save`.\n\n### 2. Import component\n\n```javascript\n// Refer to the chart library.\nimport HuiCharts from '@opentiny/huicharts';\n\n// Create a chart container.\n\u003cdiv id=\"main\" style=\"width: 600px;height:400px;\"\u003e\u003c/div\u003e\n\n// Create a chart instance.\nlet chartIns = new HuiCharts();\n\n// Initialize the chart container.\nlet chartContainerDom = document.getElementById('main');\nchartIns.init(chartContainerDom);\n\n// Enter the chart configuration items.\nlet chartOption = {...};\n// Specify the chart type, such as LineChart, AreaChart, BarChart, PieChart, GaugeChart, RadarChart, ProcessChart, and BubbleChart.\n// The English name of the chart type can be viewed in the menu bar on the left of the document.\nlet chartType = 'LineChart';\nchartIns.setSimpleOption(chartType, chartOption);\n\n// Start rendering.\nchartIns.render();\n```\n\n## 🖥️ Development\n\n```shell\ngit clone git@github.com:opentiny/tiny-charts.git\ncd tiny-charts\nnpm i\n\n# start project\nnpm run dev\n```\n\n打开浏览器访问：[http://localhost:8080/](http://localhost:8080/)\n\n## Contributing\n\nWelcome to join our OpenTiny community!🎉\n\nIf you don't know how to start, please read our [contributing guide](CONTRIBUTING.md).\n\n- Add the official assistant WeChat `opentiny-official` and join the technical exchange group.\n- Add to the mailing list `opentiny@googlegroups.com`\n## License\n\n[MIT](LICENSE)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentiny%2Ftiny-charts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopentiny%2Ftiny-charts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentiny%2Ftiny-charts/lists"}