
正文
微信小程序使用echarts/数据刷新重新渲染/图层遮挡问题
提示:扫一扫查出行【扫一扫了解最新限行尾号】
复制提示
1、微信小程序使用echarts,首先下载echarts并导入小程序项目中,因小程序后期上线对文件大小有要求,所以建议进行定制下载导入可减少文件大小占比,也可以下载以前旧版本文件比较小的应付使用
下载echarts: https://echarts.apache.org/zh/download.html
定制下载:https://echarts.apache.org/zh/builder.html
旧版本查看: https://archive.apache.org/dist/echarts/
下载好后,在使用页面的json文件中配置
1 { 2 "component": true, 3 "usingComponents": { 4 "ec-canvas": "../../../ec-canvas/ec-canvas" 5 } 6 }








