proc gchart format statistics

Reply
Contributor
Posts: 21

proc gchart format statistics

Hallo,

I try to create a bar chart in SAS. Now I am struggling with assigning a format to my statistics. My frequency should look like 8.010 and percentage like 10,34%. Is there any  option to apply formats to the statistics?

I tried to attach a screenshot of the result of my procedure but upload is not working at the moment.

axis1 order=0 to 100 by 20 ;

proc gchart data=test;

     hbar alter / type=percent freq percent freqlabel="Anzahl" percentlabel="Anteil" raxis=axis1;

run;

quit;

I also dealing with the issue that if I submit this code in a programm in Enterprise Guide 7.1 there is no statistic diplayed next to the chart.

Hope some one could help me.

Christoph

SAS Employee
Posts: 967

Re: proc gchart format statistics

Enterprise Guide is probably defaulting to activex graphs, which doesn't support the statistics columns beside the gchart hbar chart.

If you change activex to produce gif or png graphs, you should get the table.

Ask a Question
Discussion stats
  • 1 reply
  • 160 views
  • 0 likes
  • 2 in conversation