Used by: | GBARLINE, GCHART, GCONTOUR, GPLOT, GRADAR, G3D |
Type: | Global |
Restrictions: | For the G3D procedure, the AXIS statement is supported
by the JAVA and ActiveX devices only.
For the GCHART procedure, the AXIS statement and its options are ignored when used in conjunction with the BLOCK statement. |
#BYVAL or #BYVAR substitution in a text string is not available in the DATA Step Graphics Interface or in the Annotate facility. This is because BY lines are not created in a DATA step.
Not supported by Java
Not supported by Java
When the device specified is ActiveX and LOGBASE=10, formats such as percentage are not applied to the axis values
axis logbase=10 logstyle=expand;
axis logbase=10 logstyle=power;
axis logbase=2 logstyle=expand order=(2 4 8 16 32);
axis logbase=2 logstyle=power order=(1 2 3 4 5);
Not supported by Java
AXIS definitions assigned to the group axis of a bar chart by the GAXIS= option ignore MAJOR= because the axis does not use tick marks.
AXIS definitions assigned to the group axis of a block chart ignore MAJOR= because the grid does not use either axes or tick marks.
Not supported by the GRADAR Procedure
AXIS definitions assigned to the group axis of a bar chart by the GAXIS= option ignore MINOR= because the axis does not use tick marks.
AXIS definitions assigned to the group axis of a block chart ignore MINOR= because the grid does not use either axes or tick marks.
Not supported by the GRADAR Procedure
offset=(4 cm) offset=(4 cm,)
offset=(4 cm, 2 cm)
offset=(,3 cm)
Not supported by the GRADAR procedure
order=(2 4 6) order=(6,4,2) order=(2 to 10 by 2) order=(50 to 10 by -5) order=(0 to 4 by 1, 5 to 19 by 2)
order=("25MAY11"d "04JUL11"d "07SEP11"d) order=("01JUL10"d to "01AUG10"d) order=("01JUL11"d to "01JAN11"d by week) order=("9:25"t to "11:25"t by minute) order=("04JUN11:12:00:00"dt to "10JUN11:12:00:00"dt by dtday)
ORDER=(0 20 30 50)
Not valid with the ASCENDING, DESCENDING, and NOZEROS options used with the bar chart statements in the GCHART procedure.
origin=(4 cm,)
origin=(2 pct, 4 pct)
origin=(,3 pct)
Not supported by the GRADAR procedure
Not supported by the GRADAR procedure
#BYVAL or #BYVAR substitution in a text string is not available in the DATA Step Graphics Interface or in the Annotate facility. The reason is that BY lines are not created in a DATA step.
Berlin, Germany/Europe
,
and you specify SPLIT=“,/”. The value would appear on
the axis as follows: Berlin Germany EuropeIf the AXIS statement does not encounter a specified split character, no break in the variable value occurs, and no warning or error is issued.
axis1 split="," value=(tick=1 "December, 1999");
December, 1999
. However,
any other axis values containing a comma honors the split character.
Not supported by the GRADAR procedure
Up to 31 split characters are supported. If you specify more than 31 characters, only the first 31 are honored.
When specifying both the STYLE= and WIDTH= suboptions, only the WIDTH= specification is used, resulting in a modification to the tick mark thickness but not the axis line type
Using the PNG device with STYLE= results in the specified line type being applied to the line framing the axis area
First
, Second
,
and Third
, use this option: value=("First" "Second" "Third")
Place text description suboptions before the text strings that they modify. Suboptions not followed by a text string affect the default values. To specify and describe the text for individual values or to produce multi-line text, use the TICK= suboption.
#BYVAL or #BYVAR substitution in a text string is not available in the DATA Step Graphics Interface or in the Annotate facility. The reason is that BY lines are not created in a DATA step.
NOTE: Axis value is specified. RANGE option is ignored.
When specifying both the STYLE= and WIDTH= suboptions, only the WIDTH= specification is used, resulting in a modification to the tick mark thickness but not the axis line type
Partially supported by Java
reflabel=(autoref t=2 "two")
Formatting might accommodate response-axis variable values that are up to 256 characters in length.
Not supported by Java and ActiveX
axis label=("Current" justify=c "Sales Projections") value=(tick=1 "JAN" justify=c "1997" tick=2 "FEB" justify=c "1997" tick=3 "MAR" justify=c "1997" tick=4 "APR" justify=c "1997" tick=5 "MAY" justify=c "1997");
Not supported by Java
Partially supported by Java
reflabel=(autoref t=3 color=red)Suboptions that precede the TICK= option affect all the reference-line labels on an axis. Suboptions that follow the TICK= option affect only the specified line's label. For example, the following option assigns the color green to all the reference-line labels on an axis, but left-justifies only the third reference line's label:
reflabel(c=green "one" "two" t=3 j=left "three")For the options to be applied to a text string, they must precede the quoted string. In the following option, the
j=left
is
ignored because it follows the string: reflabel(c=green "one" "two" t=3 "three" j=left)
value=(tick=3 color=red)Suboptions that precede the TICK= option affect all the major tick mark values. Suboptions that follow the TICK= option affect only the specified value. For example, the following option makes all the major tick mark values four units high and colors all of them blue except for the third one, which is red:
value=(height=4 color=blue tick=3 color=red)
label=(font=swiss height=4 "Weight" justify=right height=3 "(in tons)")
axis4;
goptions reset=axis;