SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 49569: Define custom tooltips for your Graph Template Language (GTL) output

DetailsCodeResultsAboutRate It
You might want to display custom tooltips on your graph so that information about the data is displayed when the cursor is positioned over a data location on the graph. The sample code on the Full Code tab uses the ROLENAME= and TIP= options in the SCATTERPLOT statement to modify the default tooltips that are displayed. The ROLENAME= option assigns the variables Name and Sex as the tooltips to display. The TIP= option specifies the order in which the tooltips are displayed. In order to display the tooltips, it is also necessary to specify the IMAGEMAP= option in an ODS GRAPHICS statement. If this option is not specified, the tooltips are not generated or displayed.


These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.