Hi. I want to do vline by proc sgpanel. For the colaxis, I want to display the min and max values but do the graphing by interval within the min and max (if I values=(2007 2016 ) then it shows plots only plots 2007 and 2016, but if I use values=(2007 to 2016 by 1) then each single year shows in the colaxis). How can I show 2007 and 2016 but plot each year's data?
Thank you.
I formatted the colaxis's data but I cannot use in the proc sgpanel;
ods escapechar='~';
proc format lib=work;
value col
2007 = "~{style [color=black] 2007}"
2016 = "~{style [color=black] 2016}"
2008 = "~{style [color=white] 2008}"
2009 = "~{style [color=white] 2009}"
2010 = "~{style [color=white] 2010}"
2011 = "~{style [color=white] 2011}"
2012 = "~{style [color=white] 2012}"
2013 = "~{style [color=white] 2013}"
2014 = "~{style [color=white] 2014}"
2015 = "~{style [color=white] 2015}"
;
run;
Try
valuesdisplay=('2007' '2008' ' ' ' ' ' ' ' ' ' 2015')
Thank you.
But it still does not display the first and lat values.
Sorry it works! I had display=(novalues) previously. Thank you so much!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.