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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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