This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Tooltip

Tooltip
displays label as a tooltip while the mouse pointer is in the area where expr is displayed.
  • Tooltip can be used with graphics or any other expression.
  • Tooltip objects can appear within graphics.
  • The following options can be given:
BackgroundNonebackground color for the tooltip
BaseStyle{}base style specifications for expr
LabelStyle{}style specifications for the tooltip
TooltipDelay0how long to delay before displaying the tooltip
  • With the default setting TooltipDelay, the tooltip is displayed immediately.
  • TooltipDelay->t creates a delay of t seconds before the tooltip is displayed.
  • Tooltip can be used to specify tooltips for curves and points in functions like Plot and ListPlot.
  • The settings for BaseStyle and LabelStyle are appended to the default styles typically given by the and styles in the current stylesheet.
Use a string as a tooltip for an expression:
Label every curve with a tooltip:
Specify the tooltip explicitly:
Use a string as a tooltip for an expression:
In[1]:=
Click for copyable input
Out[1]=
 
Label every curve with a tooltip:
In[1]:=
Click for copyable input
Out[1]=
Specify the tooltip explicitly:
In[2]:=
Click for copyable input
Out[2]=
Use graphics or any other expression as a tooltip:
Label each expression with a tooltip:
Label each point with a tooltip:
Use tooltips for objects in graphics:
Use Dynamic to recompute the tooltip every time it is looked at:
Delay for a specified number of seconds before the tooltip appears:
Alter the style of the tooltip:
Use cell-level options to change the appearance of the entire tooltip:
Make a table of polynomial factorizations, giving integer factorizations as tooltips:
Use a plot of the formula as the tooltip:
Make a grid of Lissajous curves with their formulas as tooltips
Use the formulas as tooltips for each surface:
Tooltip, Mouseover, and PopupWindow can all be used to display additional information:
New in 6 | Last modified in 7