GCHART Procedure

PROC GCHART Statement

Identifies the data set containing the chart variables. Can specify annotation and an output catalog.
Requirement: 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>;

Optional Arguments

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

ANNOTATE=Annotate-data-set
specifies a data set to annotate all graphs that are produced by the GCHART procedure. To annotate individual graphs, use the ANNOTATE= option in the action statement.
Alias:ANNO=
Note:Annotate coordinate systems 1, 2, 7, and 8 (data system coordinates) are not valid with block, pie, donut, or star charts.
DATA=input-data-set
specifies the SAS data set that contains the variable or variables to chart. By default, the procedure uses the most recently created SAS data set.
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.
Restriction:Not supported by Java or ActiveX
IMAGEMAP= output-data-set
creates a temporary SAS data set that is used to generate an image map in an SVG file when you are sending output to the LISTING destination. (This option is not necessary when you are sending output to the HTML destination.) The drill-down URLs in the image map must be provided by variables in the input data set. These variables are identified to the procedure with the HTML= and HTML_LEGEND= options.