\HeaderA{setTooltips}{Sets the tooltips}{setTooltips}
\keyword{data}{setTooltips}
\begin{Description}\relax
setTooltips sets the tooltip values when the callback function is to show
tooltips over points.  The default value for tooltips is to use the row
names, but the user can also set the tooltips to be values from a column in
the data frame.  setTooltips is a command line function that is meant only
to be used when the user is not using the GUI.
\end{Description}
\begin{Usage}
\begin{verbatim}
setTooltips(name)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{name}] can either be the name of a column from the active model or it
can be 'rowNames' to indicate that the row names should be used as the
tooltips 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
If the user wants the tooltips to be values from a column in the active
model, then the parameter, name, should be the name of that column.  If the
user wants the tooltips to be the row names, then the parameter, name,
should be 'rowNames'.
\end{Details}
\begin{Author}\relax
Elizabeth Whalen
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{setCallFunc}{setCallFunc}},
\code{\LinkA{getTooltips}{getTooltips}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  if (interactive())
  {
    loadData("USArrests")
    setActiveMVC("USArrests")
    createSPlot(varx="Murder", vary="Assault")
    setCallFunc("mouseOver", "show tooltips over points")
    setTooltips("Murder")
    # now move the cursor over the plot
    Sys.sleep(3)
    setTooltips("rowNames")
  }
\end{ExampleCode}
\end{Examples}

