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 2020/06/26 09:02:20 UTC

[GitHub] [incubator-echarts] emryx26 commented on issue #11493: 树图用setOption更新数据时,发现图有残留BUG

emryx26 commented on issue #11493:
URL: https://github.com/apache/incubator-echarts/issues/11493#issuecomment-650072744


   我也出现残留问题,提供两组数据,先render第一组,再render第二组的时候会出现线条残留。
   
   1.
   ```json
   {"host":"8","name":"8","value":2,"itemStyle":{"borderColor":"grey"},"children":[{"host":"2","name":"2","value":2,"itemStyle":{"borderColor":"grey"}},{"host":"3","name":"3","value":2,"itemStyle":{"borderColor":"grey"}},{"host":"5","name":"5","value":2,"itemStyle":{"borderColor":"grey"},"children":[{"host":"nas","name":"db_backup","value":1,"itemStyle":{"borderColor":"#eb4034"}}]},{"host":"6","name":"6","value":2,"itemStyle":{"borderColor":"grey"},"children":[{"host":"nas","name":"job3","value":1,"itemStyle":{"borderColor":"#eb4034"},"children":[{"host":"nas","name":"job2","value":0,"itemStyle":{"borderColor":"#49eb34"},"children":[{"host":"nas","name":"job1","value":0,"itemStyle":{"borderColor":"#49eb34"}},{"host":"nas","name":"job1","value":0,"itemStyle":{"borderColor":"#49eb34"}}]},{"host":"nas","name":"job2","value":0,"itemStyle":{"borderColor":"#49eb34"}}]},{"host":"nas","name":"job3","value":1,"itemStyle":{"borderColor":"#eb4034"}}]},{"host":"7","name":"7","value":2,"itemStyle":{"borderColor":"grey"},"children":[{"host":"6","name":"6","value":2,"itemStyle":{"borderColor":"grey"}}]}]}
   ```
   
   2.
   ```json
   {"host":"7","name":"7","value":2,"itemStyle":{"borderColor":"grey"},"children":[{"host":"6","name":"6","value":2,"itemStyle":{"borderColor":"grey"},"children":[{"host":"nas","name":"job3","value":1,"itemStyle":{"borderColor":"#eb4034"},"children":[{"host":"nas","name":"job2","value":0,"itemStyle":{"borderColor":"#49eb34"},"children":[{"host":"nas","name":"job1","value":0,"itemStyle":{"borderColor":"#49eb34"}}]}]}]}]}
   ```


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



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