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 2019/07/02 11:11:02 UTC

[GitHub] [incubator-echarts] Wy38722 commented on issue #10729: 矩形树图下钻到第二级,更新数据后图表却回到了第一级。

Wy38722 commented on issue #10729: 矩形树图下钻到第二级,更新数据后图表却回到了第一级。
URL: https://github.com/apache/incubator-echarts/issues/10729#issuecomment-507630189
 
 
   > 奥,对了,还遇到个更尴尬的情况:
   > 我做过一个 时间轴 + 旭日图 ,当我点了旭日图的下钻后(未返回第一层),时间轴自动切换了,于是上一个时间点的 下钻后的图形,和新一个时间点的 新图形,重叠在一起了 - -b
   > 
   > 最后只好不响应鼠标事件了(放弃下钻)。。用了个自定义图例勉强代替
   > ![image](https://user-images.githubusercontent.com/8022228/60479590-f16ed980-9cb8-11e9-81d4-d1a54a6b60e1.png)
   
   
   
   > 用过旭日图的下钻,估计和矩形树图的下钻类似,也是用 setOption 更新图表,下钻状态就消失了
   > 可能是跟这个下钻的实现方式有关… 更新图表时把这个下钻的状态重置了
   > 
   > 既然图例都重写了,为什么不把下钻也自己重写一下呢?统一用 setOption 完成,这样就不冲突了
   tanks

----------------------------------------------------------------
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: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org