Help using Base SAS procedures

Proc GCHART - To Many Columns to Display Freq

Reply
N/A
Posts: 1

Proc GCHART - To Many Columns to Display Freq

Hi,

I'm creating a chart with proc gchart and I have (1) a large number of columns and (2) large y-values. This means that I can't put the freqs on top of each bar because my columns are too skinny. I've tried adjusting the size of the text and using landscape orientation but nothing works.

Is there a way to get the frequencies to be written vertically inside the bar instead of horizontally across the top of the bar where there isn't enough room? It seems like such a simple solution that I feel that SAS must have an option for this but I haven't found one yet.

Thanks for any help
SAS Super FREQ
Posts: 8,743

Re: Proc GCHART - To Many Columns to Display Freq

Hi:
SAS/GRAPH has an ANNOTATE facility that allows you to add annotations to graphs that you create, such as with PROC GCHART. If you do not like the way that the automatic text looks, then explore how you use the ANNOTATE facility and supply an ANNO= dataset to your PROC GCHART step.

cynthia
Super Contributor
Posts: 291

Re: Proc GCHART - To Many Columns to Display Freq

I surmise that you are using a vbar chart. I often use hbar charts instead because they provide a lot more space for labels and such.
Ask a Question
Discussion stats
  • 2 replies
  • 99 views
  • 0 likes
  • 3 in conversation