Previous Page | Next Page

Creating Interactive Output for ActiveX

Generating Output for ActiveX

The SAS/GRAPH ActiveX Control displays interactive charts, maps, and plots. The following table lists the various ways that you can deliver ActiveX output to your audience.

Primary Delivery Choices for SAS/GRAPH ActiveX Control Output
Application ODS Statement Output File
Internet Explorer ODS HTML HTML
Microsoft Word ODS RTF Rich text format
Adobe Acrobat Reader ODS PDF Portable document format
Ghostview, and so on ODS PS PostScript format

Note:   These choices also apply to the JAVA device.  [cautionend]

Procedures and Statements that Generate Output for the SAS/GRAPH ActiveX Control lists the SAS/GRAPH procedures that generate output for ActiveX.

Follow these steps to generate a default Web presentation that runs the SAS/GRAPH ActiveX Control.

  1. Reset the graphics options and specify the ACTIVEX device:

    goptions reset=all device=activex;

  2. To conserve resources, close the ODS LISTING destination:

    ods listing close;

  3. Open an ODS destination that is listed in Primary Delivery Choices for SAS/GRAPH ActiveX Control Output. Use the STYLE= option to specify an ODS style (see Controlling The Appearance of Your Graphs), and use the PATH= and BODY= options to specify an output filename other than the default. For example:

    ods html path="C:\" body="your_file.htm"
        style="banker";

  4. Run a procedure or procedures that are supported by the ACTIVEX device (see Procedures and Statements that Generate Output for the SAS/GRAPH ActiveX Control):

    proc gchart data=sashelp.class;
       vbar height / group=age;
    run;
    quit;

  5. Close the ODS destination that you opened in step 3, and then reopen the ODS LISTING destination. For example:

    ods html close;
    ods listing;

The preceding program assumes that your Web users have installed the SAS/GRAPH ActiveX Control in advance. If the SAS/GRAPH ActiveX Control is not already installed on a user's computer, your Web presentation automatically prompts the user to install the SAS/GRAPH ActiveX Control. For information on prompting new users to start the SAS/GRAPH ActiveX Control installation process, see Configuring Your Program to Prompt Users to Install the SAS/GRAPH ActiveX Control. For further troubleshooting information, see Troubleshooting Web Output. For information on enhancing the default Web presentation, see Configuring Drill-Down Links with ACTIVEX.

Previous Page | Next Page | Top of Page