方法1:使用svg渲染,svg渲染出的图表的清晰度高于canvas
var myChart = echarts.init(document.getElementById('chart'), null, {renderer: 'svg'});
方法2:仍然使用canvas渲染,通过调整devicePixelRatio提升清晰度
var myChart = echarts.init(document.getElementById('chart'), null, {devicePixelRatio: 2.5});
来源:
https://github.com/apache/incubator-echarts/issues/6054