✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Hover text for a go.table

I’m trying to add hover text to a go.table plot, but the documentation is not clear and I cannot find any working example.

The API for creating a go.table trace has hoverinfo parameter related to hovering text, but the documentation doesn’t provide many hints on how to use it.

Python API doc states:
hoverinfo – Determines which trace information appear on hover. If none or skip are set, no information is displayed upon hovering. But, if none is set, click and hover events are still fired.

Javascript API doc states:
hoverinfo
Parent: data[type=table]
Type: flaglist string. Any combination of “x”, “y”, “z”, “text”, “name” joined with a “+” OR “all” or “none” or “skip”.
Examples: “x”, “y”, “x+y”, “x+y+z”, “all”
Default: “all”
Determines which trace information appear on hover. If none or skip are set, no information is displayed upon hovering. But, if none is set, click and hover events are still fired.

So if the default is “all”, something should pop up when the mouse moves upon a cell, but this doesn’t happen. And I cannot figure out how to set hoverinfo in order to have custom infos displayed.

1 Like

very much the same issue for me - every attempt with hover text was unsuccessful.

It is a documentation bug, go.table doesn’t support hover text: