Sample 24856: Gchart label midpoint values > 16 characters
/* Beginning in Version 8 of SAS/GRAPH, there is no longer a 16 character limit */
/* for Axis labels or values. The limit has been changed to 32 characters. */
goptions reset=all border ftext=swiss colors=(black);
/* Create data set A */
data a;
input midvar $ 1-21 respvar 23-24;
datalines;
Accuracy of Order 95
Overall for Breakfast 80
Overall for Lunch 85
Temperature of Food 78
Value for the Money 87
;
/* Specify AXIS statement */
axis1 label=none;
/* Specify PATTERN statement */
pattern1 v=solid c=blue;
/* Specify TITLE statement */
title 'Survey Results';
/* Generate gchart */
proc gchart data=a;
hbar midvar / maxis=axis1 sumvar=respvar nostats;
run;
quit;

Beginning in Version 8 SAS/GRAPH, there is no longer a 16 character limit for axis labels or values. The limit has been changed to 32 characters.
| Type: | Sample |
| Topic: | SAS Reference ==> Procedures ==> GCHART Query and Reporting ==> Creating Reports ==> Graphical ==> Graph Elements ==> Labels
|
| Date Modified: | 2005-08-24 16:06:22 |
| Date Created: | 2004-11-11 11:07:51 |
Operating System and Release Information
| SAS System | SAS/GRAPH | All | 8 TS M0 | n/a |