Mathematica > Dynamic Interactivity > Viewers and Annotation >
Mathematica > Dynamic Interactivity > Custom Interface Construction > Standalone Interfaces > Viewers and Annotation >

Tooltip

Updated In 7 Graphic
Tooltip[expr, label]
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->0, 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 "Tooltip" and "TooltipLabel" styles in the current stylesheet.
New in 6 | Last modified in 7
© 2008 Wolfram Research, Inc.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team