You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/12/10 07:20:30 UTC

[GitHub] [incubator-echarts] dandeXiong commented on issue #8396: 10台车,每350ms每台车就会进来一个轨迹点,当轨迹点达到一定数量时,页面很卡

dandeXiong commented on issue #8396: 10台车,每350ms每台车就会进来一个轨迹点,当轨迹点达到一定数量时,页面很卡
URL: https://github.com/apache/incubator-echarts/issues/8396#issuecomment-563900876
 
 
   > 老铁,这个问题你解决了吗
   
   时间隔得有点久了,我当时的做法,1.轨迹点的设置:showSymbol:false (刚开始是需求需要,后来阉割),这个设置就提高了不少的性能。 2. 每隔两个小时彻底清理一次数据点(这个时间点是根据自己项目监控服务内存峰值来设定的),清空完一般不到半分钟内存就降下来了。   期间也尝试过分层,比如过去多长时间累积的点,就分出一个图表绘制好静置不动放哪里,与用来动态绘点的图表进行联动

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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