react-native-echarts-wrapper
react-native-echarts-wrapper copied to clipboard
dispatchAction hideTip is not working
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.