項目基於vue.js前端框架
一、問題描述:曲線設置為滾動 echarts legend.type scroll 且 曲線條數較多,數據量較大時;
出現渲染錯誤:
鼠標放到曲線上,曲線變粗,曲線有非常多的疊加重影,豎線。
鼠標左右滾動圖例,圖例出現非常多的疊加重影。
二、解決方案
去配置文件package.json 查看當前echarts版本為4.0.0;
卸載echarts組件或包
npm uninstall echarts
下載更新版本的echarts包
npm install echarts@4.8.0
echarts官網 版本記錄:
https://echarts.apache.org/zh/changelog.html#v4-8-0