Chapter Contents |
Previous |
Next |
SAS/GRAPH Output: _addHotspot |
Syntax | |
Details | |
Example |
Syntax |
CALL NOTIFY (graph-output-name, '_addHotspot', list-id); |
Argument | Type | Description |
---|---|---|
list-id |
N | specifies the identifier for an SCL list containing the hotspot attributes described in the following table: |
List item | Type | Description | |
---|---|---|---|
COLOR | C | the color of the hotspot | |
FILLTYPE | N | the fill style of the highlight: | |
1 | empty (outline only) | ||
2 | filled | ||
NAME | C | the name of the segment hotspot | |
SPOTID | N | the number of the graph segment where the hotspot is located |
Details |
Example |
This example creates an SCL list ATTRLIST and fills it with the attributes of a blue outline hotspot named HOT2, which is to be assigned to graph segment 5. The _addHotspot method adds the hotspot to GRAPH1.
attrlist = makelist(); setnitemc(attrlist, 'hot2', 'name'); setnitemc(attrlist, 'blue', 'color'); setnitemn(attrlist, 1, 'filltype'); setnitemn(attrlist, 5, 'spotid'); call notify('graph1','_add_hotspot_', attrlist);
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.