displays label as a tooltip while the mouse pointer is in the area where expr is displayed.

Details and Options

  • Tooltip can be used with graphics or any other expression.
  • Tooltip[expr] is equivalent to Tooltip[expr,expr].
  • Tooltip objects can appear within graphics.
  • The following options can be given:
  • BackgroundNonebackground color for the tooltip
    BaseStyle{}base style specifications for expr
    TooltipStyle{}style specifications for the tooltip long to delay before displaying the tooltip
  • With the default setting TooltipDelay->0, the tooltip is displayed immediately.
  • TooltipDelay->Automatic uses the standard delay set on your computer system.
  • 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 TooltipStyle are appended to the default styles typically given by the "Tooltip" and "TooltipLabel" styles in the current stylesheet.


open allclose all

Basic Examples  (2)

Use a string as a tooltip for an expression:

Click for copyable input

Label every curve with a tooltip:

Click for copyable input

Specify the tooltip explicitly:

Click for copyable input

Scope  (5)

Options  (2)

Applications  (4)

Properties & Relations  (1)

See Also

StatusArea  Annotation  Mouseover  PopupWindow  PopupView  CurrentValue  Labeled  Hyperlink  WindowStatusArea  MouseAnnotation


Introduced in 2007
| Updated in 2008