10-15-2012 02:30 PM
Hello SAS Experts,
I have dataset with 4 rows:
I am running below code:
proc gchart data=monprc;
vbar month/discrete type=sum sumvar=price inside=sum nostats;
and getting the output which is attached.
The problem is that I do not want the text 'SUM' displayed as I am not doing any statistics. But it looks like since I am using type=sum , its displaying 'SUM' along the Y-axis.
My questions to SAS Experts is
1) How do I get rid of this 'SUM' text from the graph?
2) Is this the correct way to display Bar graphs that dont involve any statistics?
10-15-2012 03:00 PM
AXIS statement is used to control the appearanc of text in the axis.
Add before the Proc Chart statement:
and add RAXIS = Axis1 to the options for the VBAR statement.