08-23-2017 05:05 PM
I need help pointing out what I am doing wrong. I am trying to put a ref line in my graph.
Here is my code:
proc sgplot data=graph;
vbar date/ group=group dataskin=pressed;
xaxis label='Onset date' values = ('01Jan2017'd to '30Jun2017'd by day) display=( novalues) ;
yaxis label='Number of Cases' values = (0 to 8 by 1) ;
format date date9.;
refline '01MAR2017'd / axis=x ;
Here is my data format:
Need further help from the community? Please ask a new question.