Chapter Contents

Previous

Next
SAS/GRAPH Output: _showHotspots

SAS/GRAPH Output: _showHotspots



Highlights or unhighlights one or more segment hotspots


Syntax
Details
Examples

Syntax

CALL NOTIFY (graph-output-name, '_showHotspots'<, action<, hotspot-name-1<..., hotspot-name-n>>>);

Argument Type Description
action
C specifies the action to apply:


'OFF' unhighlights the hotspot


'ON' highlights the hotspot (the default)


'TOGGLE' reverses the current highlighting status of the hotspot (the default)
hotspot-name
C specifies the name of the affected hotspot


Details

_showHotspots turns segment highlights on or off for some or all of the hotspots in the graph. The segments contain the color and fill style specified in the Hotspot Attributes window. Use this method to show selectable areas of SAS/GRAPH output.


Examples

In these examples, _showHotspots changes the highlight setting of one or more hotspots using the current color and fill style defined for each segment hotspot:

   /* reverse the current highlight setting
      for all hotspots */
call notify('graph1','_show_hotspots_');

   /* highlight hotspots HOT2 and HOT3 */
call notify('graph2','_show_hotspots_', 'on',
            'hot2', 'hot3');

   /* turn off highlight for all hotspots */
call notify('graph2','_show_hotspots_', 'off');

   /* reverse the current highlight setting
      for HOT2 */
call notify('graph2','_show_hotspots_',
            'toggle', 'hot2');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.