方法一:加入参数,使用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})
下一篇:LabVIEW连接Access
这是一个方便自己学习ECharts所编写的,如有遗漏和错误之处,欢迎各位指出ECharts配置项详解一些全局的配置项一些全局的配置项跳转顶部
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M