A Newbie esp in SAS Grahs- I am using SGPLOT to get the graphs for 2 variables. Code is as follows: 1.The Y axis is fine but, the y2-axis values are the same as the variable values and Y2 Axis is not ordered and crowded. 2. Trying to output each graph into separate excel sheet and want the sheet name to be the "By-Variable"- Not able to get the sheet names correct. 3. X-Axis formatting not working right. - TIA proc sgplot data=new2; styleattrs datacolors=(red blue); xaxis type=discrete; Y2AXIS TYPE=DISCRETE; series x=date y=s_count / datalabel datalabelattrs=(size=12pt)lineattrs=(color=red thickness=3px) legendlabel = 'SCount' by cvar; series x=date y=_M_Count / DATALABEL datalabelattrs=(size=12pt)lineattrs=(color=blue thickness=3px) legendlabel = 'MCount' y2axis; by cvar; y2axis label = "Member Count " display=(noline) grid; yaxis label = "Acc Count " display=(noline) grid; xaxis interval=MONTH label=' ' valuesformat=MONYY7. minor minorcount=120; xaxis label = ' ';
... View more