BookmarkSubscribeRSS Feed
deleted_user
Not applicable
My x-axis has ".0%" instead of "0%".
Does anyone know how to change this?

proc gchart data=q5 anno=anno_labels;
hbar bu1 / discrete
nostats
type=sum sumvar=percent1
group=q5
patternid=group
freq
format percent1 percent5.2;
run;
1 REPLY 1
GraphGuy
Meteorite | Level 14
How about something like this (specifying a percent format with no decimal places)...


data foo;
x=1; y=0; output;
x=2; y=.1; output;
run;

symbol1 v=dot i=join;
proc gplot data=foo;
format y percent5.0;
plot y*x;
run;

Message was edited by: Robert Allison @ SAS Message was edited by: Robert Allison @ SAS

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 544 views
  • 0 likes
  • 2 in conversation