I am using PROC GCHART to create a vertical bar chart.
The problem is that the major ticks marks appear in the vertical axis but not in the horizontal axis.
I have tried to put in the axis definition the option major=(number=5), but the major ticks don't appear and in the log there is this message:
WARNING: The MAJOR= option on AXIS statement 22 was ignored because the Month axis does not support MAJOR=.
I'd like to know if it's possible to show the major ticks marks in a PROC GCHART (when i use the same axis define in a PROC GPLOT there's not problem), and if it's possible, how can i do it.
Traditional sas/graph gcharts allow tickmarks on the response (height) axis, but not on the midpoint (bar) axis.
I guess the reasoning is something like ... if you have a bar & a bar value/label at every data point, why the need for tickmarks? Also, since the bars are at discrete/categorical values it wouldn't really make sense to have tickmarks (tickmarks are for proportionally-spaced numeric ranges).
If you *really* need tickmarks on the bar axis, you could annotate them (but that's a lot of work, and I'm not sure it really gains you anything).
Ok, so much for my soapbox! :-)
Here's the code to annotate tickmarks at each bar:
data tick_anno; set sashelp.class;
function='move'; midpoint=name; y=0; output;
function='draw'; y=-.7; output;