Unanswered: scatter graph - display tooltip only onClick and hide when loosing focus
I've been as to show tooltip on a scatter graph dot.
however i need to show the tooltip only when user clicking on the dot but hide it when he is out of focus(like normal tooltip)
I've tried in the "onSeriesSelection" to add tooltip config and use showAt(x,y);
(this only work on the second click)
however the tooltip configuration remain (from now on the tooltip show as usual on hover)
then after the showAt, i've add the remove tooltip from scatter method.
however the clickable tooltip still display (unless i press the close button i've added to the tooltip). - i guess this is because i don't have a tooltip object anymore.
When you explicitly call showAt on the tooltip, you are taking responsibility for its lifecycle - in other words, you need to call hide when it is time to go. In this case, listen for the mouseout (i.e. spriteout event) from the point that the user clicked on.