Previous PageNext Page

Chapter 12: Proc Chart Syntax
Proc Chart may be used for low resolution graphics: bar charts, histograms, pie charts, etc. For better graphics, use Proc Gchart (we will see a demo of this later in the course). Much of the same syntax used in Proc Chart is used in Proc Gchart.

PROC CHART <option(s)>;

    BLOCK variable(s) </ option(s)>;
    BY <DESCENDING> variable-1
    <...<DESCENDING> variable-n>
    <NOTSORTED>;

    HBAR variable(s) </ option(s)>;
    PIE variable(s) </ option(s)>;
    STAR variable(s) </ option(s)>;
    VBAR variable(s) </ option(s)>;

See OnLine documentation for details.

Previous PageTable Of ContentsNext Page