Identifies the x coordinate of a graphics element
when the coordinate value is character.
Type: |
character
|
Length: |
Should match that of the plot variable in the
procedure.
|
Default: |
the value of XLAST or XLSTT
|
Restrictions: |
Used only with output from the GCHART and
GPLOT procedures. Ignored if the axes are numeric.
|
XC='character-type-horizontal-coordinate';
|
You can use the XC variable with these
functions:
BAR |
PIE |
POLY |
DRAW |
PIECNTR |
POLYCONT |
LABEL |
POINT |
SYMBOL |
MOVE |
The XC variable is the character equivalent
of the X variable. Use XC when the axis values are character. You must also
specify a value of 2 (absolute data values) for the XSYS variable. (See also XSYS Variable.)
If you use a value other than 2 for the XSYS variable, the graphics output
is not displayed properly.
Using the XC and YC Variables with Character Data illustrates the XC
variable.
Using the XC and YC Variables with Character Data
![[Using the XC and YC Variables with Character Data]](images/annodict-xcvar.gif)
Note: The X or XC variable is required unless
either the MIDPOINT, GROUP, or SUBGROUP variable provides the horizontal coordinate. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
- CAUTION:
- Do not use the X and XC variables
in the same data set.
Using both X and XC
variables in the same data set can cause unpredictable results. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.