Sample 24881: Control the shape of a 3d bar chart
/*********************************************************/
/* This sample uses the SHAPE= option to specify the */
/* shape to be used for 3D bars. */
/*********************************************************/
goptions reset=all ftext=swissb;
/* Define a data set for charting */
data a;
input YEAR 4. CNT;
datalines;
1997 25
1998 30
1999 20
2000 10
2001 60
;
pattern c=blue;
axis1 minor=none label=('CNT');
title 'Bar Chart Shape';
/* Use the SHAPE= option to specify a cylinder */
proc gchart data=a;
vbar3d YEAR / sumvar=CNT discrete raxis=axis1 shape=cylinder
cframe=yellow autoref width=5;
run;
quit;
This sample uses the SHAPE= option to specify the shape to be used for 3D bars.
| Type: | Sample |
| Topic: | SAS Reference ==> Procedures ==> GCHART Query and Reporting ==> Creating Reports ==> Graphical ==> Graph Elements ==> Patterns
|
| Date Modified: | 2005-08-24 16:06:28 |
| Date Created: | 2004-11-11 11:07:54 |
Operating System and Release Information
| SAS System | SAS/GRAPH | All | n/a | n/a |