Help using Base SAS procedures

proc gchart block: rotate to view the bars better

Reply
Regular Contributor
Regular Contributor
Posts: 156

proc gchart block: rotate to view the bars better

Dear all,

I have a proc gchart with a block statement:

proc gchart data=work.mydata;
block myweek / sumvar = sales group = region discrete;
run;

Now the group variable is great yet I don't see all bars. Some in front are taller than these in the back. Therefore I'd like to rotate the chart to have a look more from above. Does anybody know how to do this?

Best regards
Eva
PROC Star
Posts: 1,561

Re: proc gchart block: rotate to view the bars better

I don't think you can rotate the graph like you can in proc G3D.
You can however define blockmax= to change the vertical scale and make the blocks shorter so they don't hide other blocks.
Maybe another option if you use HTML output is to use the activex device and alter the HTML afterwards:
The activex parameters
g3dTilt="xx" g3dRotate="xx"
after
view2D="false"
are also supported for block outputs. Smiley Very Happy
Ask a Question
Discussion stats
  • 1 reply
  • 88 views
  • 0 likes
  • 2 in conversation