adamtLICOR commented on issue #9246: Continue Showing Same Tooltip On Dynamic 
Graph (Until Mouse Moves)
URL: 
https://github.com/apache/incubator-echarts/issues/9246#issuecomment-433445792
 
 
   @Ovilia Yes, I actually ended up using `tooltip.alwayShowContent`.
   
   However, one problem that I ran into is that `tooltip.alwaysShowContent` 
literally **always** shows the tooltip, even when the mouse cursor is no longer 
hovering over the graph.
   
   Additionally, `tooltip.alwaysShowContent` appears to actively block the 
`hideTip` action from getting dispatched, so you can't actually hide the 
tooltip in any way while `tooltip.alwaysShowContent` is `true`.
   
   Fortunately, I was able to get the desired effect by binding a callback to 
the chart's `globalout` event, which set `tooltip.alwaysShowContent` to 
`false`, and then waiting a tick before dispatching the `hideTip` action.
   
   Hopefully this information helps someone else in a similar situation!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to