Generating Static Graphics |
A static graphic is a graphic that is permanently fixed after it is displayed. You can view a static graphic but you cannot manipulate it as you view it in a browser. Examples of static graphics include GIF and PNG images. To generate a static graphic, in your SAS program, run a SAS graphics procedure and specify with the DEVICE= graphics option on one of the following devices:
PNG | SVG | ACTXIMG |
GIF | JPEG | JAVAIMG |
Variants of some of the devices are also available for special purposes. The GIF device by default creates images with dimensions of 800 x 600 pixels. To enable you to create GIF images with different default dimensions, the following GIF device variants are provided:
GIF160 | |
GIF260 | |
GIF373 | |
GIF570 | |
GIF733 |
However, we recommend that you use the XPIXELS= and YPIXELS= graphics options with the GIF device to change the default size of your GIF graph to whatever size you need. See Using the XPIXELS= and YPIXELS= Graphics Options to Set the Size of Your Graph.
You can also use the following additional variants:
PNG300 |
produces PNG images with 300 DPI resolution |
PNGT |
provides support for transparency in PNG images |
SVGZ |
produces compressed SVG images |
SVGT |
provides support for transparency in SVG images |
SVGVIEW |
provides navigational control buttons for multipage SVG images |
Zdevice |
devices provided for compatibility with previous releases of the SAS/GRAPH software |
When you send your graph output to the ODS HTML destination, you can add data tips and drill-down links to your static graphic. See Enhancing Web Presentations with Chart Descriptions, Data Tips, and Drill-Down Functionality.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.