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

dispatchAction hideTip is not working #59

Open
Markyza opened this issue Jul 16, 2020 · 0 comments
Open

dispatchAction hideTip is not working #59

Markyza opened this issue Jul 16, 2020 · 0 comments

Comments

@Markyza
Copy link

Markyza commented Jul 16, 2020

Its my first dispatchAction in echarts-wrapper which actually do nothing. I have no problems with "showTip", but "hideTip " is dead.
According to docs it's realy simple:

chart.dispatchAction({
    type: 'hideTip'
})

But in my case nothing happens. In chartconfig.js I found it this._api.dispatchAction({type:\"hideTip\"}) near with this._api.dispatchAction({type:\"updateAxisPointer\", and everything is fine with "updateAxisPointer", but not with "hideTip".
Maybe I am doing something wrong, or someone can check if that is a common problem?
For now I have to use window.document.getElementById("tooltip").parentElement.style.display = "none"; and it works, but that is not the best solution of the problem.

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

No branches or pull requests

1 participant