react-native-echarts-wrapper icon indicating copy to clipboard operation
react-native-echarts-wrapper copied to clipboard

dispatchAction hideTip is not working

Open Markyza opened this issue 4 years ago • 0 comments

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.

Markyza avatar Jul 16 '20 23:07 Markyza