Hi,
I'm creating a bar chart with a line overlay using proc gbarline in SAS 9.2. The graphs found in this paper are representative examples of what I'm doing:
https://analytics.ncsu.edu/sesug/2010/CC15.Maddox.pdf
Is there anyway to switch the left and right axes? In other words, I'd like the left axis to be % drop shipments and the right axis to be number of orders.
Thank you!
-C
Post the code you are currently using along with any supporting statements such as AXIS Pattern or Symbol. Axis and Raxis are likely what you are looking for.
You might also want to consider moving to Proc SGPLOT which has more options for overlaying multiple graphs with individual controls.
VBAR or VBARBASIC with VLINE or VBARPARM with Series plots in Sgplot.
I'm sorry for such a late reply! I think switching to Proc SGPLOT is a good strategy.
The first thing you should do is switch to PROC SGPLOT.
The next thing you should do is browse the Graphically Speaking Blog. I would be surprised if you can't find your answer there.
Thank you! I'm going to switch to sgplot and see what I can come up with.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.