XC Variable
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. The maximum length is 256 characters. |
| Default: | the value of XLAST or XLSTT |
| Restriction: | Used only with output from the GCHART and GPLOT procedures. Ignored if the axes are numeric. |
Table of Contents
Syntax
Variable Values
character-type-horizontal-coordinate
specifies the X coordinate of the graphics element to be drawn when the coordinate value is a character.
Details
Using the XC Variable
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 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
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.
Functions
You can use the XC variable with these functions:
| BAR | PIE | POLYCONT |
| DRAW | PIECNTR | SYMBOL |
| LABEL | POINT | |
| MOVE | POLY |