SAS.GRAPH 9.1 Reference, Volumes I and II

Requirements: At least one BLOCK, HBAR, HBAR3D, VBAR, VBAR3D, PIE, PIE3D, DONUT, or STAR statement is required.

Global statements: AXIS, FOOTNOTE, GOPTIONS, LEGEND, PATTERN, TITLE

Reminder: The procedure can include the BY, FORMAT, LABEL, and WHERE statements as well as the SAS/GRAPHNOTE statement.

Supports:

PROC GCHART <DATA= input-data-set >

BLOCK chart-variable(s) </ option(s) >;

HBAR HBAR3D VBAR VBAR3D chart-variable(s) </ option(s) >;

PIE PIE3D DONUT chart-variable(s) </ option(s) >;

STAR chart-variable(s) </ option(s) >;

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

Options

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

ANNOTATE= Annotate-data-set

ANNO= Annotate-data-set

DATA= input-data-set

GOUT=< libref .> output-catalog

IMAGEMAP= output-data-set

BLOCK Statement

Creates block charts in which the height of the blocks represents the value of the chart statistic for each category of data.

Requirements: At least one chart variable is required.

Global statements: LEGEND, PATTERN, TITLE, FOOTNOTE

Supports: Drill-down functionality

Description

The BLOCK statement specifies the variable or variables that define the categories of data to chart. This statement automatically

You can use statement options to select or order the midpoints (blocks), to change the type of chart statistic, and to modify the appearance of the chart. You can also specify additional variables by which to group, subgroup , or sum the data.

Block charts allow grouping, which organizes the blocks into rows based on the values of a group variable, and subgrouping , which subdivides the blocks into segments based on the values of a subgroup variable.

In addition, you can use global statements to modify the block patterns and the legend, as well as add titles, footnotes, and notes to the chart. You can also use an Annotate data set to enhance the chart.

Note: If you get a message that the chart is too large to display on your terminal or printer, try one or both of the following:

See About the Graphics Output Area on page 34 for details.

Syntax

Required Arguments

chart-variable(s)

Options

Options in a BLOCK statement affect all graphs produced by that statement. You can specify as many options as you want and list them in any order. For details on specifying colors, see Chapter 6, SAS/GRAPH Colors and Images, on page 91. For a complete description of the graphics options, see Chapter 8, Graphics Options and Device Parameters Dictionary, on page 261.

ANNOTATE= Annotate-data-set

ANNO= Annotate-data-set

BLOCKMAX= max-value

CAXIS= grid-color

COUTLINE= block-outline-color SAME

CTEXT= text-color

DESCRIPTION= entry-description

DES= entry-description

DISCRETE

FREQ= numeric-variable

G100

GROUP= group-variable

HTML= variable

HTML_LEGEND= variable

LEGEND=LEGEND<1...99>

LEVELS= number-of-midpoints

MIDPOINTS= value-list

MIDPOINTS=OLD

MISSING

NAME= entry-name

NOHEADING

NOLEGEND

PATTERNID=BY GROUP MIDPOINT SUBGROUP

SUBGROUP= subgroup-variable

SUMVAR= summary-variable

TYPE= statistic

WOUTLINE= block-outline-width

Controlling Block Chart Patterns and Colors

Default patterns and outlines

In a block chart, only the front faces of the blocks display patterns. By default, the procedure

See About Patterns on page 784 for more information on how the GCHART procedure assigns default patterns and outlines.

User-defined patterns

To override the default patterns and select fills and colors for the blocks or block segments, use the PATTERN statement. Only bar/block patterns are valid; all other pattern fills are ignored. For a complete description of all bar/block patterns, see the description of PATTERN statement option VALUE= on page 171.

Whenever you use PATTERN statements, the default pattern outline color changes to SAME. That is, the outline color is the same as the fill color. To specify the outline color, use the COUTLINE= on page 789 option.

When patterns change

The PATTERNID= option controls when the pattern changes. By default, PATTERNID=SUBGROUP. Therefore, when you use the SUBGROUP= option to subdivide the blocks, the pattern automatically changes each time the subgroup value changes, and each subdivision of the block displays a different pattern. As a result, the number of values for the SUBGROUP= variable determines the number of block patterns on the chart. If you do not subdivide the blocks, all blocks use the same pattern.

Instead of changing the pattern for each subgroup, you can change the pattern for each midpoint, each group, or each BY group, by changing the value of the PATTERNID= option. See the PATTERNID= on page 793 option for details.

Axis color

By default, axis elements use the first color in the colors list. To change the grid color, use the CAXIS= option. To change the axis text color, use the CTEXT= option.

Controlling Block Chart Text

To control the font and size of text on the chart, use the FTEXT= and HTEXT= graphics options. See Chapter 8, Graphics Options and Device Parameters Dictionary, on page 261 for a description of these options.

Because block charts do not use AXIS statements, you must use a LABEL statement instead to suppress the label for the midpoint variable. See Example 2 on page 844.

Displaying Negative or Zero Values

The relative block heights in the chart represent the scaled value of the chart statistic value for the midpoint. If the statistic has a value of 0 or, in the case of sum and mean, a negative value, the base of the block is drawn in the square for the corresponding midpoint. Figure 29.13 on page 796 shows an example of a chart with 0 and negative statistic values.

Figure 29.13: Block Chart with 0 and Negative Statistic Values

HBAR, HBAR3D, VBAR, and VBAR3D Statements

Create horizontal or vertical bar charts in which the length or height of the bars represents the value of the chart statistic for each category of data.

Requirements: At least one chart variable is required.

Global statements: AXIS, LEGEND, PATTERN, TITLE, FOOTNOTE

Supports: Drill-down functionality

Description

The HBAR, HBAR3D, VBAR, and VBAR3D statements specify the variable or variables that define the categories of data to chart. These statements automatically

You can use statement options to select or order the midpoints (bars), to control the tick marks on the response axis, to change the type of chart statistic, to display specific statistics, and to modify the appearance of the chart. You can also specify additional variables by which to group, subgroup, or sum the data.

All bar charts allow grouping, which uses an additional category to organize the bars into groups, and subgrouping, which divides the bars into segments.

In addition, you can:

Syntax

Required Arguments

chart-variable(s)

Options

Options in an HBAR, HBAR3D, VBAR, or VBAR3D 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 on specifying colors, see Chapter 6, SAS/GRAPH Colors and Images, on page 91. For details on specifying images, see Specifying Images in SAS/GRAPH Programs on page 106. For a complete description of the graphics options, see Chapter 8, Graphics Options and Device Parameters Dictionary, on page 261.

ANNOTATE= Annotate-data-set

ANNO= Annotate-data-set

ASCENDING

AUTOREF

AXIS=AXIS<1...99>

CAUTOREF= reference-line-color

CAXIS= axis-color

CERROR= error-bar-color

CFRAME= background-color

CFR= background-color

CFREQ

CFREQLABEL= column-label NONE (HBAR and HBAR3D only)

CLIPREF

CLM= confidence-level

COUTLINE= bar-outline-color SAME

CPERCENT

CPCT

CREF= reference-line-color ( reference-line-color ) reference-line-color-list

CR= reference-line-color ( reference-line-color ) reference-line-color-list

CPERCENTLABEL= column-label NONE (HBAR and HBAR3D only)

CTEXT= text-color

DESCENDING

DESCRIPTION= entry-description

DES= entry-description

DISCRETE

ERRORBAR=BARS BOTH TOP

FRAME NOFRAME

FR NOFR

FREQ

FREQLABEL= column-label NONE (HBAR and HBAR3D only)

FREQ= numeric-variable

FRONTREF

G100

GAXIS=AXIS<1...99>

GROUP= group-variable

GSPACE= group-spacing

HTML= variable

HTML_LEGEND= variable

IFRAME= fileref external-file

IMAGESTYLE= TILE FIT

INSIDE= statistic

LAUTOREF= reference-line-type

LEGEND=LEGEND<1 99>

LEVELS= number-of-midpoints ALL

LREF= reference-line-type ( reference-line-type reference-line-type-list )

LR= reference-line-type ( reference-line-type reference-line-type-list )

MAXIS=AXIS<1 99>

MEAN

MEANLABEL= column-label NONE (HBAR and HBAR3D only)

MIDPOINTS= value-list

MIDPOINTS=OLD

MINOR= number-of-minor-ticks

MISSING

NAME= entry-name

NOAXIS

NOBASEREF

NOLEGEND

NOSTATS (HBAR and HBAR3D only)

NOZERO

OUTSIDE= statistic

PATTERNID=BY GROUP MIDPOINT SUBGROUP

PERCENT

PCT

PERCENTLABEL= column-label NONE (HBAR and HBAR3D only)

RANGE

RAXIS= value-list AXIS<1...99>

AXIS= value-list AXIS<1...99>

REF= value-list

SHAPE= 3D-bar-shape (HBAR3D and VBAR3D only)

SPACE= bar-spacing

SUBGROUP= subgroup-variable

SUM

SUMLABEL= column-label NONE (HBAR and HBAR3D only)

SUMVAR= summary-variable

TYPE= statistic

WIDTH= bar-width

WOUTLINE= bar-outline-width

The Chart Statistic and the Response Axis

In bar charts, the scale of values of the chart statistic is displayed on the response axis. By default, the response axis is divided into evenly spaced intervals identified with major tick marks that are labeled with the corresponding statistic value. Minor tick marks are evenly distributed between the major tick marks unless a log axis has been requested. For sum and mean statistics, the major tick marks are labeled with values of the SUMVAR= variable (formatted if the variable has an associated format). The response axis is also labeled with the statistic type.

Specifying Logarithmic Axes

Logarithmic axes can be specified with the AXIS statement. See AXIS Statement on page 124 for a complete discussion.

Displaying Statistics in Horizontal Bar Charts

For graphs generated with the Java and ActiveX devices, default statistics are not generated, but you can display one statistic at the end of each bar. To specify the statistic, specify the FREQ, CFREQ, PERCENT, CPERCENT, SUM, or MEAN option.

For graphs generated with other devices, the HBAR and HBAR3D statements print a table of statistic values to the right of the bars. When the value of TYPE= is FREQ, CFREQ, PERCENT, or CPERCENT, the frequency, cumulative frequency, percentage, and cumulative percentage statistics are printed next to the bars by default. When TYPE=SUM, the frequency and sum statistic values are printed by default. When TYPE=MEAN, the frequency and mean statistic values are printed by default. However, if you use the FREQ, CFREQ, PERCENT, CPERCENT, SUM, or MEAN options to request specific statistics, the default statistics are not printed.

For sum and mean, the name of the SUMVAR= variable is added to the heading for the column of values.

Specifying the Table of Statistics

You can use the FREQ, CFREQ, PERCENT, CPERCENT, SUM, and MEAN options to select only certain statistics. Without the SUMVAR= option, only the frequency, cumulative frequency, percentage, and cumulative percentage statistics can be printed. With SUMVAR=, all statistics, including the sum and mean, can be printed. You can suppress all statistics with the NOSTATS option.

To change the column labels for any statistic in the table, use one or more of the statistic column label options: FREQLABEL=, CFREQLABEL=, PERCENTLABEL=, CPERCENTLABEL=, SUMLABEL=, and MEANLABEL=.

To control the font and size of the text in the table of statistics, use the HTEXT= and FTEXT= graphics options.

Displaying Statistics in Vertical Bar Charts

Statistic values on vertical bar charts are not printed by default, so you must explicitly request a statistic with the FREQ, CFREQ, PERCENT, CPERCENT, SUM, MEAN, INSIDE=, or OUTSIDE= option.

For graphs generated with the Java and ActiveX devices, you can display one statistic for each bar. For graphs generated with other devices, you can display up to two statistics. Statistics can be displayed either above the bars or inside the bars.

To specify a statistic that you want to display above the bars, specify the statistic option (FREQ, CFREQ, PERCENT, CPERCENT, SUM, or MEAN) or specify OUTSIDE= statistic . To specify a statistic that you want to display inside the bars, specify INSIDE= statistic .

For graphs generated with the Java and ActiveX devices, the OUTSIDE= option overrides INSIDE=, and INSIDE= overrides the FREQ, CFREQ, PERCENT, CPERCENT, SUM, and MEAN options. For graphs generated with other devices, the individual statistic options override the OUTSIDE= option.

If more than one statistic option is specified, only the highest priority statistic is displayed. The priority order, from highest to lowest, is as follows:

  1. FREQ

  2. CFREQ

  3. PERCENT

  4. CPERCENT

  5. SUM

  6. MEAN

The bars must be wide enough to accommodate the text. You can adjust the width of the bars with the WIDTH= option. To control the font and size of the text, use the HTEXT= and FTEXT= graphics options.

Ordering and Selecting Midpoints

To rearrange character or discrete numeric midpoint values or to select ranges for numeric values, use the MIDPOINTS= option. Remember that although changing the number of midpoints for numeric variables may change the range of values for individual midpoints, it does not change the range of values for the chart as a whole. For details, see About Midpoints on page 780.

Like MIDPOINTS=, the ORDER= option in the AXIS statement can rearrange the order of the midpoints or suppress the display of discrete numeric or character values. However, ORDER= cannot calculate the midpoints for a continuous numeric variable, or exclude values from the calculations. For details, see the description of the ORDER= on page 130 option.

Controlling Bar Chart Patterns, Colors, and Images

Default Patterns and Outlines

Each bar in a bar chart is filled with a pattern. By default, the procedure

See About Patterns on page 784 for more information on how the GCHART procedure assigns default patterns and outlines.

User-Defined Patterns

To override the default patterns and select fills and colors for the bars or bar segments, use the PATTERN statement. Only bar/block patterns are valid; all other pattern fills are ignored. For a complete description of all bar/block patterns, see VALUE= on page 171 in PATTERN Statement on page 169.

Whenever you use PATTERN statements, the default pattern outline color changes to SAME. That is, the outline color is the same as the fill color. To specify the outline color, use the COUTLINE= option (see COUTLINE= on page 800).

When Patterns Change

The PATTERNID= option controls when the pattern changes. By default, PATTERNID=SUBGROUP. Therefore, when you use the SUBGROUP= option to subdivide the bars, the pattern automatically changes each time the subgroup value changes, and each subdivision of the bar displays a different pattern. As a result, the number of values for the SUBGROUP= variable determines the number of bar patterns on the chart. If you do not subdivide the bars, all bars use the same pattern.

Instead of changing the pattern for each subgroup, you can change the pattern for each midpoint, each group, or each BY group by changing the value of PATTERNID=. See the PATTERNID= on page 811 option for details.

Axis Color

By default, axis elements use the first color in the colors list or the colors that are specified by AXIS statement color options. However, action statement options can also control the color of the axis lines, text, and frame.

To change the color of...

Use this option...

the axis text

CTEXT=

the axis lines

CAXIS=

the area within the frame

CFRAME=

Adding Images to Bar Charts

You can apply images to the bars and to the backplane frame of two-dimensional bar charts developed with the HBAR and VBAR statements. In three “dimensional bar charts, you can apply images to the backplane frame. For details, see Specifying Images in SAS/GRAPH Programs on page 106.

PIE, PIE3D, and DONUT Statements

Create pie or donut charts in which the size of a pie slice represents the value of the chart statistic for that category of data in relation to the total chart statistic for all categories.

Requirements: At least one chart variable is required.

Global statements: LEGEND, PATTERN, TITLE, FOOTNOTE

Supports: Drill-down functionality

Description

The PIE, PIE3D, and DONUT statements specify the variable or variables that define the categories of data to chart. These statements automatically

You can use statement options to select or order the midpoints (slices), to change the type of chart statistic, and to modify the appearance of the chart, including the content and position of the slice labels, and patterns used by the slices. You can also specify additional variables by which to group, subgroup, or sum the data. Statement options can also produce special effects, such as exploded or invisible slices.

Donut and pie charts allow grouping and subgrouping. Grouping creates two or more separate pie or donut charts that display in rows or columns on one graph. Subgrouping creates a separate ring of slices within the circle for each value of the subgroup variable. The concentric rings of the subgrouped pie or donut chart make it easy to compare slice values between subgroups.

In addition, you can use global statements to modify patterns and legends, as well as add titles, footnotes, and notes to the chart. You can also use an Annotate data set to enhance the chart.

Syntax

Required Arguments

chart-variable(s)

Options

Options in a PIE, PIE3D, or DONUT 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 on specifying colors, see Chapter 6, SAS/GRAPH Colors and Images, on page 91. For a complete description of the graphics options, see Chapter 8, Graphics Options and Device Parameters Dictionary, on page 261.

ACROSS= number-of-columns

ANGLE= degrees

ANNOTATE= Annotate-data-set

ANNO= Annotate-data-set

ASCENDING

CFILL= fill-color

CLOCKWISE

COUTLINE= slice-outline-color SAME

CTEXT= text-color

DESCENDING

DESCRIPTION= entry-description

DES= entry-description

DETAIL= variable (PIE and DONUT only)

DETAIL_PERCENT=BESTNONE (PIE and DONUT only)

DETAIL_RADIUS= percent (PIE and DONUT only)

DETAIL_SLICE=BESTNONE (PIE and DONUT only)

DETAIL_THRESHOLD= percent (PIE and DONUT only)

DETAIL_VALUE=BESTNONE (PIE and DONUT only)

DISCRETE

DONUTPCT= percent (DONUT only)

DOWN= number-of-rows

EXPLODE= value-list

FILL=SOLID X

FREQ= numeric-variable

GROUP= group-variable

HTML= variable

HTML_LEGEND= variable

INVISIBLE= value-list

JSTYLE

LABEL=( text argument(s) ) (DONUT only)

LEGEND LEGEND=LEGEND<1...99>

LEVELS= number-of-midpoints ALL

MATCHCOLOR

MIDPOINTS= value-list

MIDPOINTS=OLD

MISSING

NAME= entry-name

NOGROUPHEADING

NOHEADING

NOLEGEND

OTHER= percent-of-total

OTHERCOLOR= color

OTHERLABEL= text-string

PERCENT=ARROW INSIDE NONE OUTSIDE

SLICE=ARROW INSIDE NONE OUTSIDE

SUBGROUP= subgroup-variable

SUMVAR= summary-variable

TYPE= statistic

VALUE=ARROW INSIDE NONE OUTSIDE

WOUTLINE= slice-outline-width

Text Description Suboptions

The LABEL= option in the DONUT statement uses text description suboptions to change the color, height, justification, font, and angle of the following text string(s).

ANGLE= degrees

A= degrees

COLOR= color

C= color

FONT= font

F= font

HEIGHT= text-height < units >

H= text-height < units >

JUSTIFY=LEFT CENTER RIGHT

J=L C R

ROTATE= degrees

Selecting and Positioning Slice Labels

By default, each slice is labeled with its midpoint value (slice name) and its chart statistic value (slice value), which are printed outside of the slice. You can control where and how these labels are displayed with the SLICE= and VALUE= options, respectively. In addition, each slice can display the percentage its midpoint contributes to the total chart statistic (slice percent). Use the PERCENT= option to request slice percent.

The SLICE=, VALUE=, and PERCENT= options use the same values:

ARROW

INSIDE

NONE

OUTSIDE

Figure 29.14 on page 831 illustrates these values.

Figure 29.14: Slice Labeling Methods

The SLICE= and VALUE= options are dependent on each other. If you specify only VALUE= or only SLICE=, the other option automatically uses the same labeling method. PERCENT= is independent of these two.

Be careful about the combinations that you specify. For example, if you specify PERCENT=ARROW and VALUE=OUTSIDE, the line that connects the percentage information to each slice may overlay the statistic value.

If your pie has many slices, the labels may overlap, particularly if there are several small slices together. You can correct the overlapping labels by using

Controlling Slice Patterns and Colors

Pie and donut charts are always patterned by midpoint. Even when you specify subgrouping, the patterning method does not change from midpoint to subgroup.

Default patterns and outlines

Each slice in a pie or donut chart is filled with a pattern. By default, the procedure

See About Patterns on page 784 for more information on how the GCHART procedure assigns default patterns and outlines.

Controlling patterns

You can control slice patterns and their outlines in several ways.

See About Patterns on page 784 for more information on how the GCHART procedure uses patterns and outlines. See PATTERN Statement on page 169 for a description of default pie patterns.

Modifying the Statistic Heading and the Group Heading

By default, the procedure prints a heading at the top of each pie (or donut) chart that indicates the type of statistic charted and the name of the chart variable “ for example, SUM of SALES by SITE . You can suppress this heading with the NOHEADING option.

When you use the GROUP= option, a heading is printed above each pie indicating the name of the group variable and its value for the particular pie “ for example, SITE=Paris . You can suppress these headings with the NOGROUPHEADING option. You can also suppress the variable name SITE= so that only the value Paris remains. To do this, use a LABEL statement and assign a null value to the variable name, for example,

label site='00'x;

Because the AXIS statement cannot be used by the PIE, PIE3D, and DONUT statements, you should use the FTEXT= and HTEXT= graphics options to control the font and height of text on the chart. Increasing the value of the HTEXT= graphics option decreases the size of the pie if any slice labels are positioned outside.

STAR Statement

Creates star charts in which the length of the spines represents the value of the chart statistic for each category of data or midpoint.

Requirements: At least one chart variable is required.

Global statements: FOOTNOTE, PATTERN, TITLE,

Supports: Drill-down functionality (slices only)

Not supported by: Java, ActiveX

Description

The STAR statement specifies the variable or variables that define the categories of data to chart. This statement automatically

If all the data to be charted with the STAR statement are positive, the center of the star represents 0 and the outside circle represents the maximum value. If negative values are calculated for the chart statistic, the center represents the minimum value in the data. You can specify other values for the center and outside of the circle with the STARMIN= and STARMAX= options.

You can also use statement options to select or order the midpoints, to change the type of chart statistic, and to modify the appearance of the chart, including the content and position of the spine or slice labels, and patterns that fill the slice. You can specify additional variables by which to group or sum the data.

Star charts allow grouping, which creates two or more separate charts that display in rows or columns on one graph.

In addition, you can use global statements to modify patterns as well as add titles, footnotes, and notes to the chart. You can also use an Annotate data set to enhance the chart.

Syntax

option(s) can be one or more options from any or all of the following categories:

Required Arguments

chart-variable(s)

Options

Options in a STAR statement affect all of the graphs that are produced by that statement. You can specify as many options as you want and list them in any order. For details on specifying colors, see Chapter 6, SAS/GRAPH Colors and Images, on page 91.

ACROSS= number-of-columns

ANGLE= degrees

ANNOTATE= Annotate-data-set

ANNO= Annotate-data-set

CFILL= fill-color

COUTLINE= star-outline-color SAME

CTEXT= text-color

DESCRIPTION= entry-description

DES= entry-description

DISCRETE

DOWN= number-of-rows

FILL=SOLID X

FREQ= numeric-variable

GROUP= variable

HTML= variable

LEVELS= number-of-midpoints

MATCHCOLOR

MIDPOINTS= value-list

MIDPOINTS=OLD

MISSING

NAME= entry-name

NOCONNECT

NOGROUPHEADING

NOHEADING

PERCENT=ARROW INSIDE NONE OUTSIDE

SLICE=ARROW INSIDE NONE OUTSIDE

STARMAX= max-value

STARMIN= min-value

SUMVAR= summary-variable

TYPE= statistic

VALUE=ARROW INSIDE NONE OUTSIDE

WOUTLINE= slice-outline-width

Selecting and Positioning Spine and Slice Labels

By default, each spine or slice is labeled with its midpoint value and its chart statistic value, which are printed outside of the circle. You can control where and how these labels are displayed with the SLICE= and VALUE= options, respectively. In addition, each spine can display the percentage that its midpoint contributes to the total chart statistic (spine percent). Use the PERCENT= option to request spine percent.

The SLICE=, VALUE=, and PERCENT= options use the same values:

Selecting Patterns for the Star Charts

Star charts are always patterned by midpoint.

Default patterns and outlines

Each slice in a star chart is filled with a pattern. By default, the procedure

See About Patterns on page 784 for more information on how the GCHART procedure assigns default patterns and outlines.

Controlling patterns

You can control slice patterns and their outlines in several ways.

See About Patterns on page 784 for more information on how the GCHART procedure uses patterns and outlines. See PATTERN Statement on page 169 for a description of default star patterns.

Modifying the Statistic Heading and the Group Heading

By default, the procedure prints a heading at the top of each chart indicating the type of statistic charted and the name of the chart variable “ for example, SUM of SALES by SITE . You can suppress this heading with the NOHEADING option.

When you use the GROUP= option, a heading is printed above each star indicating the name of the group variable and its value for the particular star “ for example, SITE=Paris . You can suppress these headings with the NOGROUPHEADING option. You can also suppress the variable name SITE= so that only the value Paris remains. To do this, use a LABEL statement and assign a null value to the variable name, as shown in this example:

label site='00'x;

Because the AXIS statement cannot be used by the STAR statement, you should use the FTEXT= and HTEXT= graphics options to control the font and height of text on the chart. Increasing the value of HTEXT= decreases the size of the star if any slice labels are positioned outside. For a description of these graphics options, see Chapter 8, Graphics Options and Device Parameters Dictionary, on page 261.

Категории