Is it possible to:
-
Disable the HoverToolTip for certain glyphs? For example, hovering above a ‘line’ will not trigger any tool-tips, but hovering above a ‘circle’ should trigger the tool-tip.
-
Having different layout and labels in a tool-tip box, based on what we are hovering on? For example, for a hover event above a line, we get a tool-tip displaying ‘foo: 1234’ but on a hover above a circle we get a ‘bar: ABCD’
I suspect this is possible with a CustomJS hover tool, but wasn’t exactly sure about the js syntax that needs to go in there. Probably some if-else logic based on the glyph property passed through the args?
There is a good example about that, where the hover event triggers some lines, but not sure how to access the structure of the hover-tool-tip table.