BookmarkSubscribeRSS Feed
asmits
Calcite | Level 5
Hi all,

We have came across code that was generated through ODS Graphics Designer that is not implemented in GTL. The code below was generated but apparently boxplot is not a plot that is implemented in combination with the datalattice layout (although boxplotparm is). Any help is welcome since we want to implement ODS graphics designer as part of our graphics creation process.

Thanks,
Alain

proc template;
define statgraph sgdesign;
dynamic _panelnumber_;
begingraph;
entrytitle _id='title' halign=center 'Type in your title...' /;
entryfootnote _id='footnote' halign=left 'Type in your footnote...' /;
layout datalattice _id='datalattice' columnvar=CHOL_STATUS rowvar=SMOKE /
panelnumber=_panelnumber_ cellheightmin=1 cellwidthmin=1
columndatarange=unionall columngutter=3 columns=4 headerlabeldisplay=value
rowdatarange=unionall rowgutter=3 rows=2;
layout prototype _id='prototype' / ;
boxplot _id='box' x=SEX y=HEIGHT / name='box';
endlayout;
endlayout;
endgraph;
end;
run;
4 REPLIES 4
deleted_user
Not applicable
Some GTL code generated by the Designer can not be run with PROC SGRENDER. For example, "computed" plots such as boxplot and histogram are not yet supported in GTL datalattice/datapanel layout. In the production release of the Designer, you will see some comments in the code indicating that it can not be run with proc sgrender. However, you can always run PROC SGDESIGN in batch mode for any output generated by the Designer.

Thanks,
Lingxiao
asmits
Calcite | Level 5
Thanks for your quick reply. Can you give me an indication as to when both products will be in sync in terms of functionality?
Thanks again
Alain
ScottS_SAS
SAS Employee
Lingxiao mentions that in the production release of the Designer, you will see some comments in the code indicating that it can not be run with proc sgrender.

Here is an example of what to look for to determine what can't be run in proc sgrender:

/* NOTE: Following statement(s) will not work if submitted in GTL */

and then the offending statements will appear in red text.

or

/* The graph contains paneled computed plot(s). This is not supported by PROC SGRENDER. You need to run PROC SGDESIGN to generate the graph. */
deleted_user
Not applicable
We plan to make the GTL template generated by the SGDesigner fully compliant with proc sgrender. We will try to do it in the next major release.

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
  • 4 replies
  • 912 views
  • 0 likes
  • 3 in conversation