BookmarkSubscribeRSS Feed
JasonL
Quartz | Level 8

Is there a way to reduce or eliminate the space between the first bar and the vertical axis and the last bar and the right boundary of the procedure output area in GCHART (see attached)?  I need to do that so that I can better control the bar width and spaces between the bars dynamically.

Thanks.
Jason

2 REPLIES 2
ballardw
Super User

The option SPACE on the VBAR statement specifies the amount of space between individual bars or between bars within groups. Use SPACE=0 for no space, units are in character cells. WIDTH allows to specify specific widths for bars.

The OFFSET option on an AXIS statement may be what you need to control the amount of space between the first and last bars and the vertical axis.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1131 views
  • 0 likes
  • 2 in conversation