Previous Page | Next Page

Creating Interactive Output for Java

Overview

The JAVA device generates interactive presentations that run in the Graph, Map, Tile, and Contour applets. These applets can display the output of certain SAS/GRAPH procedures as follows:

Graph applet

G3D scatter plots, GCHART, GPLOT

Map applet

GMAP

Tile applet

GTILE

Contour applet

G3D surface plots, GCONTOUR

The Java applets enable Web users to display data tips, to change the graph type, to pan, rotate, and zoom, and to change colors, fonts, axes, legends, and variable roles.

Note:   The Java applets do not support the GAREABAR, GBARLINE, or GRADAR procedures. To provide interactivity with the output of these procedures, use the ACTIVEX device instead, as described in Creating Interactive Output for ActiveX. ActiveX output can also appear in Microsoft Word documents or other OLE applications.  [cautionend]

You can enhance JAVA-device-generated graphs by setting applet parameters and specifying Output Delivery System (ODS) options. Applet parameters let you configure drill-down links and override default values in the user interface. Information on parameters is provided in Attributes and Parameters for Java and ActiveX.

You can use ODS styles to enhance the appearance of JAVA-device-generated charts, as described in Controlling The Appearance of Your Graphs.

To generate a Web presentation that runs the Graph, Map, or Contour applet, you generally specify the JAVA device in a GOPTIONS statement, open the HTML destination, generate one or more graphs, and then close the HTML destination, as described in Generating Output for Java.

You can generate the same graphs as static images using the DEVICE=JAVAIMG graphics option. Static images can be displayed without requiring that the Web user install the applets or Java Runtime Environment (JRE). For details, see ACTXIMG and JAVAIMG Devices.

You can also use the JAVAMETA device to create interactive metagraphics output. See Generating Interactive Metagraphics Output.

Previous Page | Next Page | Top of Page