天天看點

echarts legend.type scroll 顯示問題;渲染錯誤

項目基于vue.js前端架構

一、問題描述:曲線設定為滾動  echarts legend.type  scroll  且 曲線條數較多,資料量較大時;

出現渲染錯誤:

滑鼠放到曲線上,曲線變粗,曲線有非常多的疊加重影,豎線。 

滑鼠左右滾動圖例,圖例出現非常多的疊加重影。

二、解決方案

去配置檔案package.json 檢視目前echarts版本為4.0.0;

解除安裝echarts元件或包

npm uninstall  echarts

下載下傳更新版本的echarts包

npm install [email protected]

樹立目标,保持活力,gogogo!