Chapter Contents

Previous

Next
The GCHART Procedure

PROC GCHART Statement


Identifies the data set containing the chart variables. Optionally specifies annotation and an output catalog.

Requirements: An input data set is required.



Syntax

PROC GCHART<DATA=input-data-set>
<ANNOTATE=Annotate-data-set>
<GOUT=<libref.>output-catalog>
<IMAGEMAP=output-data-set;>


Options

PROC GCHART statement options affect all graphs produced by the procedure.

ANNOTATE=Annotate-data-set
ANNO=Annotate-data-set
specifies a data set to annotate all graphs that are produced by the GCHART procedure. To annotate individual graphs, use ANNOTATE= in the action statement.
See also: The Annotate Data Set

DATA=input-data-set
specifies the SAS data set that contains the variable(s) to chart. By default, the procedure uses the most recently created SAS data set.
See also: SAS Data Sets and About Chart Variables

GOUT=<libref.>output-catalog
specifies the SAS catalog in which to save the graphics output that is produced by the GCHART procedure. If you omit the libref, SAS/GRAPH looks for the catalog in the temporary library called WORK and creates the catalog if it does not exist.
See also: Storing Graphics Output in SAS Catalogs

IMAGEMAP=output-data-set
creates a SAS data set that contains information about the graph and about areas in the graph. This information includes the shape and coordinates of the areas and is used to build an HTML file that links the graph areas to other files or images. This linking provides drill-down functionality on the graph. The Imagemap data set also contains the information that is stored in the variables referenced by the HTML= and HTML_LEGEND= options. Therefore, in order to use IMAGEMAP= to create an HTML file, you must also use the HTML= option or the HTML_LEGEND= option or both.
See also: Customizing Web Pages for Drill-down Graphs


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.