You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "janvorwerk (via GitHub)" <gi...@apache.org> on 2024/01/05 16:02:21 UTC

Re: [I] Setting sampling (downsampling) threshold value [echarts]

janvorwerk commented on issue #15437:
URL: https://github.com/apache/echarts/issues/15437#issuecomment-1878897365

   To me, this is not only a performance issue @pissang, it is also a display issue.
   Here are screenshots of a plot (on a Retina display with a pixel ration of 2 - tried to set `devicePixelRatio: 1` but that did not solve the issue)
   
   What I have:
   
   <img width="611" alt="image" src="https://github.com/apache/echarts/assets/139635115/d05f40ae-b3d4-4d2e-ba45-8d521f4dfdb8">
   
   What I have I zoom enough:
   <img width="652" alt="image" src="https://github.com/apache/echarts/assets/139635115/cd67ca2f-13ba-4fda-be69-ef8bffeea080">
   
   I wish I could sample the data more than 1 point per pixel to smooth the display as on the second screenshot. I can obviously do that on the raw data, but in that case, I need to recompute this manually whenever the user zooms in and out...
   
   Any thoughts?


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


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