Incubator-echarts: 折线图坐标轴上的文字模糊不清,有重影

Created on 3 Jun 2017  ·  7Comments  ·  Source: apache/incubator-echarts

One-line summary [问题简述]

折线图坐标轴上的文字模糊不清,有重影,如下图:

image

Version & Environment [版本及环境]

  • ECharts version [^3.1.6]:
  • Browser version [Goolge Chrome 58.0.3029.110 (64-bit)]:
  • OS Version [Windows 7]:

Expected behaviour [期望结果]

image

ECharts option [ECharts配置项]


option = {

}

Other comments [其他信息]


Most helpful comment

echarts.init(document.getElementById(id),'', {devicePixelRatio:2});这样的配置可以解决,设置像素比为2

All 7 comments

能具体描述你的环境么?以及把 echarts 版本升级到最新版本看看?

echarts.init(document.getElementById(id),'', {devicePixelRatio:2});这样的配置可以解决,设置像素比为2

@webJing好的,我试下,蟹蟹~

@pissang,应该是我代码的问题,还没解决,不知道是不是重复渲染之类的。。

@kagol 最近反馈了好几个类似的问题,好像是 windows 下的 chrome 在窗口缩放到很小的时候会复现

@webJing 这个方法是可以解决重影的问题的,在此表示感谢~~

echarts.init(document.getElementById(id),'', {devicePixelRatio:2});这样的配置可以解决,设置像素比为2

这个方案主要是提高分辨率的,最近碰到transform:scale(x,y)放大图形导致模糊就是这样解决的

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arssam picture arssam  ·  3Comments

771752687 picture 771752687  ·  3Comments

RoxetteI picture RoxetteI  ·  3Comments

Thinkpad93 picture Thinkpad93  ·  3Comments

kirazxyun picture kirazxyun  ·  3Comments