Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

This feature is not supported on the Wolfram Cloud.

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

Details and OptionsDetails 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
    TooltipDelay0.how 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.

ExamplesExamplesopen allclose all

Basic Examples  (2)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
Introduced in 2007
| Updated in 2008