Chapter Contents |
Previous |
Next |
SAS/GRAPH Output: _hscroll |
Syntax | |
Details | |
Example |
Syntax |
CALL NOTIFY (graph-output-name, '_hscroll', <unit<, num-units>>); |
Argument | Type | Description |
---|---|---|
C | specifies the scrolling unit: | |
'MAX ' | ||
'PAGE' | ||
'HALF' | ||
'COLUMN' | ||
num-units |
N | specifies the number of units to scroll. To scroll right, specify a positive number; to scroll left, specify a negative number. The default is 1 |
Details |
The _hscroll method is useful when the graphics output is not scaled to fit the region and a large graph, or multiple graphs, may be partially hidden. You can use the _hscroll method to scroll graphics output whether or not the scroll bars are turned on.
This method is useful for switching between multiple pictures rendered into the same GRSEG entry. For example, if you use the GREPLAY procedure to create a template containing four graphs and you bring the templated graph into the SAS/GRAPH output object, use _hscroll to scroll from one graph to another.
Example |
This example shows different ways of scrolling a graph horizontally:
/* scroll all the way right */ call notify('graph1', '_hscroll_', 'max', 1); /* scroll left one page */ call notify('graph1, '_hscroll_', 'page', -1); ' /* scroll right one page */ call notify('graph1', '_hscroll_', 'page', 1); /* scroll left one column */ call notify('graph1', '_hscroll_', 'column', -1); /* scroll right one column */ call notify('graph1', '_hscroll_', 'column', 1);
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.