07-19-2012 12:40 AM
Here's a way too complicated example, but in general robslink.com is the best source for graph code to start off with:
09-06-2012 09:22 AM
09-06-2012 09:30 AM
Or, if you have SAS 9.2 or higher, you can use Proc Gbarline (rather than annotating the line & right-hand axis)...
proc gbarline data=sashelp.shoes;
bar region / sumvar=sales subgroup=product maxis=axis1;
plot / sumvar=returns;
09-09-2012 07:59 PM
Looks like gbarline is the easiest way to go. To get this in SG requires coding it in GTL which makes it way too complex in comparison.