BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
DavidPhillips2
Rhodochrosite | Level 12

Is there a way to remove the tick marks from a gchart?  I disabled the raxis and expected it to go away.

axis1 label=none value=none;

  axis2 label=none;

  axis3 label=none;

  legend1 label=none;

  title1 &admissionGraphsBaseText;

  title2 "Incoming Class";

  title3 "by Residency";

  proc gchart data=residencyOutput;                                                                                                      

     hbar residency_desc /                                                                                                      

       sumvar=enrolled

       legend=legend1 outside=sum sumlabel=''

       maxis=axis1

   gaxis=axis3

       raxis=none

   subgroup=residency_desc

   group= ACADEMIC_PERIOD_DESC

   noframe

   discrete;

   format enrolled percent8.1;

  run;                                                                                                                                   

  quit;

bottom axis.png

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Data helps to duplicate/test what you are doing.

Did you try another axis definition with major=none minor=none

View solution in original post

2 REPLIES 2
ballardw
Super User

Data helps to duplicate/test what you are doing.

Did you try another axis definition with major=none minor=none

DavidPhillips2
Rhodochrosite | Level 12

Ballwardw, thanks that solved it.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 1413 views
  • 0 likes
  • 2 in conversation