Previous Page | Next Page

Introducing SAS/GRAPH Output for the Web

Selecting a Type of Web Presentation

The type of web presentation that you choose to generate depends on several factors such as the type of graphs you need, the operating environment in which you want to generate your presentation, and the operating environments in which you plan to deliver your web presentation.

To determine which type of web presentation you need, consider the following questions:

How is your graphical output produced?

The structure of your data and the information that you need to generate from this data determine the type of graph that you need to produce. The type of graph that you need determines which procedure or macro you need to use to produce your graph. Which procedure or macro, if any, you need to use may determine which device drivers you can use.

What features are supported for each type of presentation?

Each type of web presentation enables different features such as data tips, drill-down links, and pop-up menus. Whether you need extensive interactive capabilities or just data tips can determine which device driver you need to use.

What does your audience need to view the presentation?

Which device or macro you use to generate your web presentation determines whether the presentation can be viewed on multiple platforms and whether it requires any software except a supported browser.


How is the graphical output produced?

Which type of graph you need to produce is determined by the structure of your data and the information that you need to convey to your audience. For example, treeview diagrams and bar charts convey very different types of information. If you need to create a web presentation that includes graphics that are produced by one of the SAS/GRAPH procedures, then you need to use one of the device drivers that supports that procedure. Assuming that you know which type of graph you need, then you can determine which device drivers or macros you can use.

How is the graphical output produced? lists the procedures that are supported by each device driver and the diagrams that are produced by each macro.

Note:   To generate a web presentation using the ACTXIMG device driver, the ActiveX control must be installed on the PC on which your SAS session is running.  [cautionend]

How is the graphical output produced?
Driver or Macro How Output is Produced
ACTXIMG G3D, GAREABAR, GBARLINE, GCHART, GCONTOUR, GPLOT, GMAP, GRADAR, GTILE
JAVAIMG G3D, GCHART, GCONTOUR, GKPI, GPLOT, GMAP, GTILE
ACTIVEX G3D, GAREABAR, GBARLINE, GCHART, GCONTOUR, GPLOT, GMAP, GRADAR, GTILE
JAVA G3D, GCHART, GCONTOUR, GMAP, GPLOT, GTILE
SVG G3D, GANNO, GBARLINE, GCHART, GCONTOUR, GPLOT, GMAP, GRADAR, GREPLAY, GSLIDE
GIF, JPEG, PNG G3D, GANNO, GBARLINE, GCHART, GCONTOUR, GPLOT, GMAP, GRADAR, GREPLAY, GSLIDE
GIFANIM G3D, GANNO, GBARLINE, GCHART, GCONTOUR, GPLOT, GMAP, GRADAR, GREPLAY, GSLIDE
JAVAMETA G3D, GANNO, GBARLINE, GCHART, GCONTOUR, GPLOT, GMAP, GRADAR, GREPLAY, GSLIDE
DS2TREE, DS2CONST These macros create treeview diagrams or constellation diagrams, respectively, without involving a SAS/GRAPH procedure.

For example, if you need a radar chart, you can use the ACTXIMG, ACTIVEX, or JAVAMETA driver (as well as other drivers). Which device driver you choose depends on what additional features (such as interactive capabilities) you need and on how you plan to deliver your web presentation.

If you need to graph hierarchical relationships, consider using the DS2TREE macro to generate a treeview diagram. If you need to show relationships that are not hierarchical or if you need to show the relative affinity of the relationships, then consider using the DS2CONST macro to generate a constellation diagram.


What features are supported for each type of presentation?

The following table shows, for each type of Web presentation, what features are available to a viewer when viewing the presentation in a browser. You can see from the table that presentations that involve a Web executable, such as Java applets or the ActiveX control, enable interactive manipulation via pop-up menus. Presentations that use GIF, JPEG, and PNG files provide static images with no interactivity besides pop-up data tips and drill-down links.

After you have determined which device drivers or macros you can use, you then need to determine which extra features you need in your web presentation. For example, you may not want or need to give your audience the ability to subset the graph's data or change the graph from a bar chart to a pie chart.

The following table shows which features are supported for each device driver or macro.

What features are supported for each type of presentation?
Driver or Macro Features Supported
ACTXIMG pop-up data tips and drill-down links (for selected output), static graphics with no interactivity
JAVAIMG static graphics with no interactivity
ACTIVEX pop-up data tips, drill-down links, interactivity via pop-up menus
JAVA pop-up data tips, drill-down links, interactivity via pop-up menus
SVG drill-down links, zooming supported in SVG-enabled browsers
GIF, JPEG, PNG drill-down links, static graphics with no interactivity
GIFANIM Slide show of static images with no interactivity
JAVAMETA Pop-up data tips, drill-down links, some interactivity such as zooming and slide shows
DS2TREE, DS2CONST Pop-up data tips, drill-down links, interactivity via pop-up menus

Data tips and drill-down links for ACTXIMG are supported for output from GCHART, GPLOT (except for high-low plots), GBARLINE, and GRADAR.

The pop-up menus available with the JAVA and ACTIVEX device drivers typically enable your audience to change many aspects of the graph such as changing chart types, subsetting data, changing the variable used as the response variable, turning data tips on or off, or changing the colors used the graph. Static graphs do not offer any of these interactive features. Web presentations that use the JAVAMETA driver may enable a zoom control, and page selection and slide show controls for presentations that include multiple images.


What does your audience need to view the presentation?

To view your web presentation, your audience must view the presentation through one of the supported browsers. For a list of supported browsers, refer to the SAS Web site Install Center at

http://support.sas.com/documentation/installcenter

Select the System Requirements link for the appropriate operating system environment and search for the section on viewing HTML pages created for Java and ActiveX.

It is recommended that graphs be displayed on a device that has at least 16-bit color (that is, more than 8-bit, 256 colors).

Depending on how the presentation is generated, there may be additional requirements. The following table shows, for each type of Web presentation, what is required on a viewer's machine besides a supported browser.

What does your audience need to view the presentation besides the browser?
Driver or Macro Additional Requirements
ACTXIMG None
JAVAIMG None
ACTIVEX The presentation must be viewed with Internet Explorer on a Windows system with the SAS ActiveX control installed locally.
JAVA The Java applet files must be installed locally or on a server accessible by the client machine, and Java 1.4 plug-in must be installed on each client machine. On Windows systems, the user is prompted to install the plug-in if it is not already installed. On other systems, the plug-in can be installed from the Sun Microsystems site (http://www.sun.com) or from one of the SAS Third Party Software Components CDs.
SVG The presentation must be viewed in an SVG-enabled browser.
GIF, JPEG, PNG None
GIFANIM None
JAVAMETA The Java applet files must be installed locally or on a server accessible by the client machine. The Java plug-in is not required on the client machine; the Metaview applet works with the Java Virtual Machine that is built into the supported browsers.
DS2TREE, DS2CONST The Java applet files must be installed locally or on a server accessible by the client machine, and Java 1.4 plug-in must be installed on each client machine. On Windows systems, the user is prompted to install the plug-in if it is not already installed. On other systems, the plug-in can be installed from the Sun Microsystems site (http://www.sun.com) or from one of the SAS Third Party Software Components CDs.

Presentations generated with the ACTIVEX driver can be viewed only with Internet Explorer on Windows PCs, and the ActiveX control must be installed locally on each PC.

Presentations generated with the JAVAMETA driver can be viewed in any supported browser and offer limited interactivity, but do not require that a Java plug-in be installed.


Recommendations

If you will be delivering your presentation on Windows only and you want your audience to be able to interact with the graph, then you can use the ACTIVEX device driver. If you will be delivering your presentation to other operating environments, but you still want to use interactive features, then you can use the JAVA device driver. However, the ACTIVEX and JAVA device drivers require that your audience install the ActiveX control and Java plug-in, respectively.

If you want the look of the ACTIVEX or JAVA driver, but do not need the interactive capability or do not want to require that your audience install the ActiveX control or the Java plug-in, then use the ACTXIMG or JAVAIMG device drivers.

If you need data tips, drill-down capability, or limited interactivity such as zoom, but you do not want to require that your audience install the Java plug-in or the ActiveX control, then you can use the JAVAMETA device driver.

If you need only data tips and drill-down capability, then you can use the GIF, JPEG, or PNG device driver.

Previous Page | Next Page | Top of Page