Chapter 11: Creating Interactive Output for Java


Overview

The JAVA device driver generates interactive presentations that run in the Graph, Map, and Contour applets. These applets enable users to interact with the output of the GCHART, GPLOT, G3D, GMAP, and GCONTOUR procedures.

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

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

You can use ODS to enhance the appearance of Java charts using graph styles, as described in Using ODS Styles on page 488. You can also use ODS to generate other HTML enhancements, as described in Overview of ODS Enhancements for Web Output on page 487.

To generate a Web presentation that runs the Graph, Map, or Contour applet, you generally specify the JAVA device driver in a GOPTIONS statement, open an output file in ODS, specify an ODS style to set the appearance of the output, generate one or more graphs, and close the HTML output file, as described in Generating Output for Java on page 398.

You can generate the same graphs as static pictures using DEVICE=JAVAIMG. This does not require that the Web user install the applets or JRE. For details, see ACTXIMG and JAVAIMG Device Drivers on page 440.




SAS.GRAPH 9.1 Reference, Volumes I and II
SAS.GRAPH 9.1 Reference, Volumes I and II
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 342

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net