Hoping someone can point me in the right direction for this. I haven't been working with SAS for very long and have been using mostly SAS 8.2 TS2M0 and we also have SAS 9.2 TS2M0. I'm trying to create the chart below in SAS. I can't see to find how to create a side by side bar chart in SAS 9.2 TS2M0, I have it working for another program in SAS 8.2 using gchart and greplay, but like the looks of using GTL in SAS 9.2.
Any idea where I should start in either SAS 8.2 or 9.2? Remember it's the TS2M0 version.
THANKS in advance!!
Tony
Here's another alternative (maybe simpler than using greplay) using Proc Gchart to create the grouped/stacked bars, and annotate to draw the line & right-axis values.
Grouped Bar Chart with Line (Custom SAS/Graph gchart, not gbarline)
http://robslink.com/SAS/democd29/barline_info.htm
(this particular data doesn't show 'stacked' bar segments, but gchart's subgroup= option does support that).
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.