/* Vertical Bar Chart Representing a Frequency Count */
goptions reset=all;/**恢复默认设置,消除之前图形的标题脚注*/
proc gchart data=orion.staff;
vbar Job_Title;
where Job_Title =:'Sales Rep';
title 'Number of Employees by Job Title';
run;
quit;
/* Three-dimensional Horizontal Bar Chart */
goptions reset=all;
proc gchart data=orion.staff;
hbar3d Job_Title;
title 'Number of Employees by Job Title';
where Job_Title =:'Sales Rep';
run;
quit;
/* Suppress the Display of Statistics on Horizontal Bar Charts */
goptions reset=all;
proc gchart data=orion.staff;
hbar3d Job_Title / nostats; /***nostats:不显示统计量**/
title 'Number of Employees by Job Title';
goptions reset=all;/**恢复默认设置,消除之前图形的标题脚注*/
proc gchart data=orion.staff;
vbar Job_Title;
where Job_Title =:'Sales Rep';
title 'Number of Employees by Job Title';
run;
quit;
/* Three-dimensional Horizontal Bar Chart */
goptions reset=all;
proc gchart data=orion.staff;
hbar3d Job_Title;
title 'Number of Employees by Job Title';
where Job_Title =:'Sales Rep';
run;
quit;
/* Suppress the Display of Statistics on Horizontal Bar Charts */
goptions reset=all;
proc gchart data=orion.staff;
hbar3d Job_Title / nostats; /***nostats:不显示统计量**/
title 'Number of Employees by Job Title';