I'm using PROC SGPANEL and the GROUP option. I am creating a panel of line charts using the series option and I want to specifically tell SAS which color to use for the groups. Is there a way to specify different colors for each group in the lineattrs statement?
proc sgpanel data=compare_agegraph;
panelby service;
series x=mbr_agex y=use / group=groupx markers markerattrs=(symbol=circle) lineattrs=(thickness=2 pattern=solid);
label mbr_agex='Age'
groupx='Group'
use='Average Number of Uses per Member';
run; quit;
Above is my code. Using the markerattrs= statement I can specify that I want BOTH plots within each panel to have a circle marking each observation. Using the lineattrs= statement I can specify that I want BOTH plots to have thickness=2 and to be a solid line pattern.
However, I would like to specify which color each line is but I am not sure how. If I use the color= option in the lineattrs statement then it colors both lines that same color, making it impossible to tell which line is which. Is there a way to accomplish this?