TaylorPzreal commented on issue #13504:
URL: 
https://github.com/apache/incubator-echarts/issues/13504#issuecomment-726740137


   After i read ```zrender``` source code, i found how to trigger this problem 
in my case;
   
   First the ```zrender``` 
[src/config.ts](https://github.com/ecomfe/zrender/blob/master/src/config.ts) 
portion code:
   
   ```ts
   let dpr = 1;
   
   // If in browser environment
   if (typeof window !== 'undefined') {
       dpr = Math.max(window.devicePixelRatio 
        || ((window.screen as any).deviceXDPI / (window.screen as 
any).logicalXDPI) 
        || 1, 1);
   }
   ```
   
   As you can see, ```zrender``` use ```window.devicePixelRatio ``` to set 
pixel almost any time in today browser if you don't config this, and my case is:
   
   First i displayed my webpage on a low pixel screen(1PX), and then i dragged 
the browser to mac screen(2PX), so i found this problem.
   
   So it's okay for me. Just for sharing my case.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to