随笔分类 -  echarts

摘要:react中引入echarts报错Error: xAxis "0" not found 解决办法:在引入页面中加入这行代码 : import 'echarts/lib/component/grid' 阅读全文
posted @ 2021-06-03 14:53 吴wu聊 阅读(3400) 评论(0) 推荐(0)
摘要:因为我的页面是通过zoom缩放来实现不同大小屏幕的兼容,后来发现缩放之后,echarts的鼠标移入时发生偏移。 百度了很多资料,用了针对echarts的dom单独再zoom回去,然后再transform:scale()缩放回去 const width = document.documentEleme 阅读全文
posted @ 2020-11-12 10:35 吴wu聊 阅读(5567) 评论(3) 推荐(0)