Help using Base SAS procedures

proc gchart, grouped graphic: erase label of bars

Reply
Regular Contributor
Regular Contributor
Posts: 156

proc gchart, grouped graphic: erase label of bars

Dear all,

I have a grouped hbar graphic. Now I'd like to erase the label for the bars on the axis. (Because they are so long and I put them in a legend with a trick: I used subgroup = myvalues where myvalues is the hight of the bars.)

Here's my code:

legend2 label=none;

proc gchart data=work.graphic;

vbar myvalues / sumvar = mysum
subgroup = myvalues /* to create the legend */
group = mydate
raxis=axis1 maxis=axis2 gaxis=axis3
legend=legend2;

run;

Best regards
Eva
Super Contributor
Posts: 292

Re: proc gchart, grouped graphic: erase label of bars

If you use axis2 value=none, I think you will accomplish your mission
Regular Contributor
Regular Contributor
Posts: 156

Re: proc gchart, grouped graphic: erase label of bars

Hi Bill,

thanx a lot! That did it!

Best wishes
Eva
Ask a Question
Discussion stats
  • 2 replies
  • 100 views
  • 0 likes
  • 2 in conversation