Restriction: | Not supported by JAVA and JAVAIMG |
Requirement: | One bar variable is required. |
Global statements: | AXIS , FOOTNOTE, LEGEND, PATTERN, TITLE |
Supports: | Drill-down functionality |
Options in the BAR statement affect all graphs that are produced by that statement. You can specify as many options as you want and list them in any order. For details about specifying colors, see Using Colors in SAS/GRAPH Programs. For details about specifying images, see Adding Images To SAS/GRAPH Output. For a complete description of the graphics options, see Graphics Options and Device Parameters Dictionary.
If the specified style contains an embedded image, the image is drawn instead of the specified CFRAME color.
The MIDPOINTS= option overrides the DISCRETE option.
The ORDER= option in an AXIS statement that is assigned to the midpoint axis can rearrange or exclude discrete midpoint values.
APSTDERR=100 * SQRT((PCT/100) * (1–(PCT/100)) / TOTAL);
UCLP = PCT + APSTDERR * PROBIT( 1-(1-LEVEL/100)/2 );
LCLP = PCT - APSTDERR * PROBIT( 1-(1-LEVEL/100)/2 );
STDERR = STD / SQRT(N);
UCLM = MEAN + STDERR * TINV( 1-(1-LEVEL/100)/2, N-1);The lower confidence limit for the mean is computed as follows:
LCLM = MEAN - STDERR * TINV( 1-(1-LEVEL/100)/2, N-1);
data null; c = 1; n = 10; level = 100 * (1 - 2 * (1 - probt( c, n-1))); put all; call symput("level",put(level,best12.)); run;Then, when you run the GBARLINE procedure, you can specify CLM=&LEVEL.
Adding Links and Enhancements with the URL=, HTML=, and HTML_LEGEND= Options
bar city / subgroup=city;
The MEAN option is ignored unless you also use the SUMVAR= option.
During the creation of vertical bar charts, when options RANGE and LEVELS= are both used, RANGE displays the endpoints of the range for each vertical bar. It does this rather than displaying just the numerical midpoint of the range as would be displayed with the LEVELS= option alone. If necessary, RANGE automatically angles or rotates the values and they might be less readable
If the RANGE, LEVELS=, and AXIS VALUE= options are all specified, the RANGE option is ignored and the LEVELS= option displays the numeric midpoint of each vertical bar.
The SUM option is ignored unless you also use the SUMVAR= option.
bar site / width=1.5;
If the specified width is too narrow, the procedure might display the midpoint values vertically.