Chapter 10: Creating Interactive Output for ActiveX


Overview

In the Windows operating environment, in the Internet Explorer Web browser, the SAS/GRAPH Control for ActiveX provides a high degree of graphical interactivity. Interactive features include the ability to change graph types (a two-dimensional bar chart can be changed to a three-dimensional bar chart, for example), display data values at the point of the cursor, rotate and zoom, reassign variable roles, and modify axes, legends, colors, and text fonts.

If your Web audience has SAS installed locally, the control runs automatically when the HTML output file is displayed on a Web browser that uses ActiveX device drivers. Members of your Web audience that do not have the SAS system installed locally, and who have not already installed the ActiveX Control, can be prompted to install the control at display time, as described in Installing the ActiveX Control on page 389.

You can enhance your ActiveX presentations by

  • adding drill-down links (see Configuring Drill-Down Links with ACTIVEX on page 392)

  • specifying graph styles in ODS (see Using ODS Styles on page 488)

  • configuring interactive features (see Specifying Parameters and Attributes for Java and ActiveX on page 421)

  • enhancing HTML output Overview of ODS Enhancements for Web Output on page 487.

In addition to HTML output, you can use the ActiveX Control to display interactive graphs in Microsoft Word, in Object Linked Embedded (OLE) documents, and in applications written in Visual Basic, C++, and JavaScript.

The following table lists the procedures and statements whose output can be displayed in the SAS/GRAPH Control for ActiveX.

Table 10.1: Procedures and Statements that Generate Output for the ActiveX Control

Procedure

Statements

GCHART

HBAR, HBAR3D, VBAR, VBAR3D, PIE, PIE3D, DONUT

GPLOT

PLOT, BUBBLE, BUBBLE2, PLOT2

GCONTOUR

PLOT

GMAP

CHORO, BLOCK, PRISM

G3D

PLOT, SCATTER

GBARLINE

BAR, PLOT

GAREABAR

HBAR, HBAR3D, VBAR, VBAR3D

GRADAR

CHART

Note: The ActiveX Control does not enable 8-bit grayscale images. Be sure to specify 24-bit images for backgrounds and chart elements.

Note: Note that using PROC GMAP to generate a highly detailed map might create a large HTML output file, which might cause problems on certain Web browsers. If this is the case, you can use PROC GREDUCE to remove some of the complexity and produce a more usable map.




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