proc gchart axis labels

  • Follow


Hi.

I'm creating a vertical bar chart displaying the variable COUNT. Each
bar stands for one DAY and is subdivided into 10 subgroups (SUBS)

proc gchart data=x;
	vbar3d DAY/sumvar=COUNT subgroup=SUBS type=sum discrete;
run;


Since I have >200 days in my data set, the x-axis gets way too
crowded. What I would need is something like labeled major tick marks
(day 0 20 40 60 ...) and unlabeled minor tick marks, but that's
apparently not supported for the maxis in proc gchart.

Thanks a lot for any suggestions!

Park
0
Reply park.trayler (1) 12/18/2009 11:48:54 PM

hi Park,

Have you tried using the "order" option in the AXIS statement ?

Perhaps something like:

   AXIS2 order=(0 to 200 by 20)  /* specify other options as needed
*/ ;

   proc gchart data=x;
          vbar3d DAY/sumvar=COUNT
                            subgroup=SUBS
                            type=sum
                           discrete
                           raxis=axis2 /* response axis specifications
*/
          ;
   run;

In addition to "order", also check out the "major" and "minor" options
in the AXIS statement;

Thanks,
Shankar
0
Reply Shankar 12/20/2009 4:33:03 PM


1 Replies
789 Views

(page loaded in 0.066 seconds)

Similiar Articles:













7/21/2012 5:36:06 PM


Reply: