05-31-2014 05:14 PM
WIth SAS 9.4, yes, there are data driven ways to do this. One way would be to use GTL annotation, or possibly use the AXISTABLE. With earlier versions, I can't think of an easy way. You can set the attrs for all the tick values, but not individual ones. With SAS 9.3 and later, you can turn off the display of the axit tick values and use DRAWTEXT statements to create your own custom tick values. SGANNO is available with SGPLOT in SAS 9.3.
06-01-2014 04:08 PM
Thanks for your reply. I used drawtext to customize axis. But there is a problem. My graph is horizontal bar chart, so when I turn off tick display and put my own value in yaxis, the value is truncated. Is there any way to show value completely?