BookmarkSubscribeRSS Feed
P5C768
Obsidian | Level 7

Does anyone know if Proc report works with SVG animations?  The SVG documentation says it works with the "G" procedures (GCHART, GPLOT etc,) but I am wondering why a proc report would not work?  I am trying to use the code below to create a table animation that loops by month.  The proc reports are created just fine, but instead of creating a loop that cycles through 12 months, it just shows 12 different proc reports.  Thanks!

 


filename odsout '.';


goptions reset=all device=svg border cback=white hby=0;


options svgheight="400px" svgwidth="600px" nodate nonumber
animation=start animloop=yes animduration=.5 noanimoverlay;

ods _all_ close;
ods html5 file='svg_loopplot.html' path = odsout options(svg_mode='inline');

proc report data=Final NOWD LS=120 HEADLINE HEADSKIP split="*" contents='';
by month;
columns Per1 Per2 Per3 Per4;

quit;

ods _all_ close;
ods listing;

1 REPLY 1
BrunoMueller
SAS Super FREQ

Hi Proc REPORT does not create any type of graphical output, ie no image. So this is why it can not be animated.

 

Bruno

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 926 views
  • 0 likes
  • 2 in conversation