Data visualization with SAS programming

PDF output with chart side by side.

Reply
SAS Employee
Posts: 17

PDF output with chart side by side.

Hi,
How can I put two Radar chart side by side in PDF.

Currently I am using this code to get 1 chart

proc gradar DAta=TEST_VIM ;

chart "Main Topic"n /
overlay= LEGEND


SUMVAR=PER_SCORE
cstars=( cx97291E cxEB922C cx053C6D )
wstars=1 1 2
lstars=4 4 1

staraxis=(axis1, axis1,axis1,axis1 );
;
run;

Please help me.
SAS Employee
Posts: 6

Re: PDF output with chart side by side.

You can do one of two ways. Radar supports acrossvar= option.
or you can use pdf option of columns=2, here is an example with ods pdf using gchart:
ods pdf;
ods pdf columns=2;
proc gchart data=sashelp.class;
vbar age;
run;
vbar height;
run;
quit;
ods pdf close;
Super Contributor
Posts: 291

Re: PDF output with chart side by side.

Vimal;

While you may be able to build radar charts in SAS, they are a very poor and most confusing way to transfer information. Visit www.perceptualedge.com and search for radar charts to see superior alternatives.
SAS Employee
Posts: 977

Re: PDF output with chart side by side.

Just wanted to point out that Bill is talking about radar charts in general ... not specifically SAS radar charts! (right Bill?) :-)

ps - if all goes according to plan, there will be some nice enhancements to the SAS radar chart in v9.3 (I've been trying these out this past week, and they give the user a lot more control over the axes/spokes of the radar chart, etc ... it'll be a while before v9.3 ships, but be on the lookout for radar enhancements when it does!) Message was edited by: Robert Allison @ SAS
Super Contributor
Posts: 291

Re: PDF output with chart side by side.

Yes, I did mean radar charts in general.
Ask a Question
Discussion stats
  • 4 replies
  • 300 views
  • 0 likes
  • 4 in conversation