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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1167 views
  • 0 likes
  • 2 in conversation