You can choose to not display a tooltip for one of your things
(circle or line) by specifying the renderers when you add the
HoverTool. But if you want tooltips for both then you do,
unfortunately, have a problem.
There’s an issue here:
The option for dodge - so the tooltips move around each other -
that’d be a slick feature but I can’t imagine it coming to the top
of the todo list quickly.
I think it'd be nice to have the option of a fixed position hover
)
Sorry that was long winded way of saying that it's not currently
possible.
···
https://github.com/bokeh/bokeh/issues/1512https://github.com/bokeh/bokeh/issues/3148https://github.com/bokeh/bokeh/issues/1189https://github.com/bokeh/bokeh/issues/2981
On 10/18/16 6:10 AM,
wrote:
rootsumsquared@gmail.com
Hi all, imagine two renderers - a line and discrete
circles representing dots on that line. Both renderers have
tooltips associated with them. When you hover over that circle
you end up with both displayed, one on top of each other.
What's the best way to prevent two or more tooltips that
regference the same x, y coordinates (in the above example, a
circle)?
In a more general case - how to prevent overlapping
tooltips. See .
–
You received this message because you are subscribed to the Google
Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/c2353d78-245f-4bdf-bcc5-c2272bd95232%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/c2353d78-245f-4bdf-bcc5-c2272bd95232%40continuum.io?utm_medium=email&utm_source=footer).
For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).
–
Sarah Bird
Developer, Bokeh
[

](http://continuum.io)
https://github.com/bokeh/bokeh/issues/3260