Hi All,
I am using PROC GCHART and want to ganerate the graph in date Vs time , i googled it but i did nt get any solution , please suggest if any ideas.
can we give it in Axis statement as below.
AXIS1 Order=(mm:ss to mm:ss)
Please find the attachment and suggest on this.
Thanks,
Vish
if you look here SAS/GRAPH(R) 9.3: Reference, Third Edition
You will find the answer
value-list
These value lists use SAS date and time values:
order=("25MAY11"d "04JUL11"d "07SEP11"d) order=("01JUL10"d to "01AUG10"d) order=("01JUL11"d to "01JAN11"d by week) order=("9:25"t to "11:25"t by minute) order=("04JUN11:12:00:00"dt to "10JUN11:12:00:00"dt by dtday)
You mention that you're wanting to use Gchart (for bar charts, I assume?)
One important thing to know is that you'll probably want to use the 'discrete' option, so that each of the date (or time) values in your data becomes a discrete bar in your bar chart ... otherwise Gchart will probably treat them as numeric (which is what they are) and group & split them into a histogram.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.