I'm having two specific issues with proc gchart in SAS (code and graph attached):
1) I cannot seem to fill my error bars. I know it is possible, but I've read through the support for both SAS/GOPTIONS and PROC GCHART to no avail. You can view them on the attached picture. If someone could point me in the right direction, that would be awesome.
2) Solved this second issue! :tup:
Any help would be much appreciated!
Best
1) I cannot seem to fill my error bars. I know it is possible, but I've read through the support for both SAS/GOPTIONS and PROC GCHART to no avail. You can view them on the attached picture. If someone could point me in the right direction, that would be awesome.
2) Solved this second issue! :tup:
Any help would be much appreciated!
Best
Code:
*Visualization;
goptions reset=all noborder cback=cxfff1e0 ftext=("Arial/Italic");
title1 f="Arial/Italic" "Graf (uvektede tall) - work_stat*obesity by agegroup";
axis1 style=1 value=(font=arial) label=(f="Arial/Italic" "BMI=>30");
axis2 style=1 value=(font=arial) label=(/*a=90*/ f="Arial/Italic" "Andel i jobb " /*j=c*/ /*j=r*/ "(CLM=95%)");
axis3 style=1 value=(font=arial) label=(f="Arial/Italic" "Aldersgruppe");
pattern1 color=cxFFA07A;
proc gchart data=haag;
hbar obesity/ discrete type=mean
sumvar=work_stat mean
inside=mean
group=aldersgruppe2
errorbar=bars
cerror=cx800000
ca=cx83838c
coutline=cx83838c
woutline=1
clm=95
noframe
raxis=axis2
maxis=axis1
gaxis=axis3
width=2;
run;
Last edited: