You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/11/06 17:21:51 UTC

[GitHub] iamweilee commented on issue #9351: 当k线图的数据实时接收websocket推送来的数据并同步渲染k线时,鼠标在k线上不断移动时,十字线出现卡顿现象

iamweilee commented on issue #9351: 当k线图的数据实时接收websocket推送来的数据并同步渲染k线时,鼠标在k线上不断移动时,十字线出现卡顿现象
URL: https://github.com/apache/incubator-echarts/issues/9351#issuecomment-436335663
 
 
   目前做了一个缓解之计:监听页面的mousemove事件,每次记录事件触发时间戳,当实时数据到达时计算当前时刻与之前记录的时间戳二者时间差,若小于100ms则不更新图表,否则才更新。但这也只是缓解之计。期望更好的方法解决之。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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