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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1236 views
  • 0 likes
  • 3 in conversation