方法一:加入參數,使用svg渲染,清晰度高
var myChart = echarts.init(document.getElementById('chart'), null, { renderer: 'svg' })
方法2:canvas渲染,通過調整devicePixelRatio提升清晰度
var myChart = echarts.init(document.getElementById('echarts_warn'),null, {devicePixelRatio: 2})
方法一:加入參數,使用svg渲染,清晰度高
var myChart = echarts.init(document.getElementById('chart'), null, { renderer: 'svg' })
方法2:canvas渲染,通過調整devicePixelRatio提升清晰度
var myChart = echarts.init(document.getElementById('echarts_warn'),null, {devicePixelRatio: 2})
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。