Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

定时更新treemap中的data,emphasis状态在再次调用setOption不会消除。 #6804

Closed
qilerongrong opened this issue Oct 10, 2017 · 3 comments

Comments

@qilerongrong
Copy link

qilerongrong commented Oct 10, 2017

定时更新数据(调用setOption),前一个emphasis状态并不会消除。

One-line summary [问题简述]

http://gallery.echartsjs.com/editor.html?c=xHkk18OcqW&v=2

image

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:
  • Browser version [浏览器类型和版本]:
  • OS Version [操作系统类型和版本]:

Expected behaviour [期望结果]

ECharts option [ECharts配置项]

option = {

}

Other comments [其他信息]

@DukeGJ
Copy link

DukeGJ commented Oct 10, 2017

要clear一次option,然后在setoption

@100pah
Copy link
Member

100pah commented Oct 11, 2017

treemap 本来没有支持在叶节点设置 borderWidth。新增了 strokeColor 和 strokeWidth 来描述这个例子里需要的边框。

(另外这个例子里的 setInterval 中的 4000 位置写错了,导致例子很卡。)

@qilerongrong
Copy link
Author

@100pah 新增的strokeColor和strokeWidth可以用了嘛,文档里没有查到~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants