Hello all,
I am using gchart to create a histogram. It works file when i run it alone. But when I set goption device to GIF the chart is shrunk to the middle and way to much left and right margins appear on the chart. Has anyone come across this before?
goptions reset= all;
goptions device=jpeg;
goptions gunit=pct border ;
goptions ftext=arial htext=2 pct;
pattern1 value=solid color=lightblue ;
pattern2 value=solid color=lightyellow;
pattern3 value=solid color=lightbrown;
*goptions reset=pattern;
title 'Cases , Processed vs Still Pending' font=Arial;
axis1 label=(a=90 'Cases' font="arial/bold" height=2)
value=(font="Arial" height=2 /* angle=90 */) offset=(0,0);
axis2 label=(a=0 'Week Ending On' font="Arial/bold" height=2)
value=(font="arial" height=2 /* angle=90 */) ;
proc gchart data=Chart_1 anno=Chart_1_Anno;
vbar Week_Ends/subgroup=Status sumvar=Cases
discrete
space=.5
noframe
coutline=black
raxis=axis1
maxis=axis2;
format Week_Ends MMDDYY5.0;
/*where Week_Ends between today()-7*7 and today()+7 ; */
run;
quit;