The ODS HTML statement
opens or closes the HTML destination. This destination is the default
output destination for the Windows and UNIX operating systems. When
the destination is open, the procedure produces output that is written
in Hypertext Markup Language in the form of an HTML file. If no device
is specified,
SAS/GRAPH,
by default, creates a PNG file containing the graph. The HTML file
references the PNG file in order to display the graph in a Web page.
If DEVICE=JAVAMETA,
graphics output is produced as metagraphics data. The browser passes
the metacodes as a parameter to the Metaview applet. The Metaview
applet renders the output defined by the metacodes, and displays the
interactive graph in a Web page.
For more information
about DEVICE=JAVAMETA see Developing Web Presentations for the Metaview Applet.
You can also use the
DEVICE=JAVA and DEVICE=ACTIVEX options to create interactive graphics
presentations for the Web.
SAS/GRAPH adds data tip text to some graphs depending on the
device specified. These data tips are generated by default using
the values of fields in a SAS data set. You can specify the DESCRIPTION=
option on the
SAS/GRAPH
procedure to change or remove the data tip text.
For more information
about using data tips see Data Tips for Web Presentations.
The FILE= option identifies
the file that contains the HTML version of the procedure output.
With
SAS/GRAPH, the body file contains references to the graphs. If
DEVICE=PNG, the graphs are stored in separate PNG files. When you
view the body file in a browser, the graphs are automatically displayed.
By default with ODS processing, both the HTML and PNG files are stored
in the current WORK library. To specify a destination for all the
HTML and PNG files, use the PATH= option. To store the PNG files in
a different location than the HTML files, use the GPATH= option to
specify a location for the PNG files, and the PATH= option to specify
the location of the HTML files. In both cases,the destination must
be an aggregate storage location.