This page shows some of the samples that were used in demonstrations at the SUGI 27 conference in 2002.
See Also: PDF versions of the papers that were delivered at SUGI 27.
Note. In the table below, the links to the ouput go to pages that show only image representations of the graphs that are generated by the sample code; the pages do not actually reference the client controls. However, if you paste a sample's code into a Version 9 SAS session and submit it, the output will reference running controls when the device driver has been set to ActiveX or Java.
| Sample | Description |
|---|---|
| Annotations with Client Graphs | This sample shows how to produce annotations on a map using the ActiveX or Java device drivers. |
| Areabar Graph | This sample shows how to use the new GAREABAR procedure to generate an areabar graph using the ActiveX device driver. |
| Bar Chart with Plot Overlay | This sample shows how to use the GBARLINE procedure to generate a bar chart with a plot overlay. (This example is different from the original SUGI27 example. It uses different data so that the data can be included inline and the code run as is, assuming you provide a valid path-to-your-web-server.) |
| Bar Charts in Java | This sample shows several bar charts using the Java device driver. |
| Constellation Chart Applet | These samples show how to generate a Constellation Chart Applet. |
| Pie Chart with Detail Slices | This sample shows how to generate a pie chart with detail slices using the ActiveX, Java, or GIF device drivers. |
| Plots in Java | This sample shows several plots using the Java device driver. |
| Radar Chart | This sample shows how to generate a radar chart. |
| Radar Chart in ActiveX | This sample shows that the ActiveX device driver supports radar charts. |
| PDF or RTF Output |
This sample shows how to generate PDF or RTF output for graphs. The sample combines a table and a graph. |
| New Device Drivers | This sample demonstrates the new device drivers, ACTXIMG and JAVAIMG. which are
used with ODS.
With the ACTXIMG driver, the SAS session launches the SAS/GRAPH Control for ActiveX in the background, without displaying it. The Graph control then renders the graph and saves it as a PNG image. ODS automatically creates an HTML file that references the PNG image so that it can be displayed in a Web browser. The JAVAIMG driver works the same way, but it uses one of the SAS/GRAPH Java applets rather than the Control for ActiveX.
View an Image Representation of the Output (only partial output shown) |