共计 310 个字符,预计需要花费 1 分钟才能阅读完成。
页面报错:jquery.min.js:2 Uncaught TypeError: Failed to execute ‘createLinearGradient’ on ‘CanvasRenderingContext2D’: The provided double value is non-finite.
原因:echarts 图表数据不正确。例如,图表中的数据应该是不带单位的数据,但是接口返回了带单位的数据,未经过处理直接应用到图表的 data 中。
原文地址: jquery.min.js:2 Uncaught TypeError: Failed to execute‘createLinearGradient‘on‘CanvasRenderingCont
正文完