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

在echarts3中实时渲染图表的同时,tooltip会隐藏一会再显示。 #2478

Closed
think2011 opened this issue Jan 22, 2016 · 3 comments

Comments

@think2011
Copy link

think2011 commented Jan 22, 2016

在之前的版本中不存在这个问题。

我的需求是这样的,通过给tooltip插入一个input,用户change了input的时候,就会实时更新echarts3的设置,从而实时看到图表的变化。

但是在echarts3版本中,tooltip 会隐藏一会再重现。

比较困扰,求解答。:-)

demo

@pissang
Copy link
Contributor

pissang commented Jan 25, 2016

这个问题是因为刷新的时候 tooltip 会重置,然后需要鼠标移动才能触发,可以在 setOption 后再通过 dispatchAction 重新显示 tooltip,后续优化这个问题

@think2011
Copy link
Author

think2011 commented Jan 26, 2016

嗯 谢谢

@think2011
Copy link
Author

think2011 commented Feb 29, 2016

赞!

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

2 participants