If your data has been pre-processed such that the values for each bar's stacked segments add up to 100, you can use v9.2's "proc gbarline" to eaily produce such a chart. It produces the 2nd axis, and the legends.
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.