You have several options ( a very simple one is to use an iframe that will contain your html file created by ODS).
Or best options as ActiveX, javascript, AJAX, etc can make of it a very beautiful product of yours. Also a bit more complex, but not too much.
This is a question really related to Web developing, therefore:
If you have any kind of web developer at your place, I would strongly recommend you to contact them, they can make the life really easy to you, as you won't need to invent the wheel again 😉
In any case, I would recommend you to move this topic to the ODS group of topics. Probably you will reach the most suitable public for your question
I am not sure I understand totally your requirement.
ods graphics/height=1cm width=2cm;
proc sgplot data=sashelp.class noborder;
scatter x=weight y=height/ markerattrs=(size=0);
inset ("sum"="32" "n"="200") / noborder textattrs=(weight=bold size=20 );
xaxis display=none;
yaxis display=none;
run;
proc print data=sashelp.class;run;
Thank you for your answer.
It is quite close to what I want.
In your example, instead of hard-code "32" and "200", I want it to be calculated automatically by using the table.
Example:
Max Age is ... from person name ....
I want "..." conducted by codes because I am making a macro and the user will input detail.
I think macro variable would help, however these macro variables are created in file while I need them as global ones in order to put it in to summary text box.
Yes. you need generate macro variable for these. But that is another question.
For the golbal macro variable, you can assign local macro variable value to golbal Like:
%global x ;
%yourmacro;
%local y;
.........
%let x=&y;
%mend;
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.
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.