a uniapp plugin for chart.js
- clone/download this repo.
- install deps:
chart.js^4.4chartjs-plugin-zoom^2.2chartjs-scale-timestack^1.0
- move the src folder to your uniapp project.
- open
Sample.vueto view use cases.
- 修改 Chart 的类型(bar/radar/pie),功能等:
Modify the Chart type, functionality, etc:- see
@components/Charts/ChartProxy.js - Refer to uniapp's RenderJS and native Chart.js plugin development
参考 uniapp 的 RenderJS 或者是 Chart.js 插件开发
- see
- 修改 Chart 和 Vue,Uni 表现层的交互等:
Modify the Chart interaction between Vue, Uni, etc:- see
@components/Charts/renderjs.vue - Refer to uniapp's RenderJS / Vue2 development
参考 uniapp 的 RenderJS 或者是 Vue2 开发
- see