Closed mingyuezhaohuahai closed 3 years ago
没看到问题在哪
就是,用echarts4.1.0版本绘图。同事反应坐标轴模糊了,最后发现是因为他的电脑window.devicePixelRatio=1.5 。改了echarts.js源码的6785行的方法,问题就解决了。
请问你的改动就是增加了这个了么 dom.style.width = width; dom.style.height = height;
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
One-line summary [问题简述]
设备像素比不等于1的时候,会出现模糊,特别文字模糊严重
Version & Environment [版本及环境]
解决方法:dist/echarts.js 6785行的resize();
Expected behaviour [期望结果]
ECharts option [ECharts配置项]
Other comments [其他信息]