<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why can't I add one Seriesplot in the LAYOUT prototype? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Why-can-t-I-add-one-Seriesplot-in-the-LAYOUT-prototype/m-p/285419#M10112</link>
    <description>&lt;P&gt;Dear Sanjay,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure, thanks for your suggestion. The version I am using is SAS 9.4 server version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will take a try on your proposal. Many thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jack.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2016 01:25:49 GMT</pubDate>
    <dc:creator>Jack2012</dc:creator>
    <dc:date>2016-07-19T01:25:49Z</dc:date>
    <item>
      <title>Why can't I add one Seriesplot in the LAYOUT prototype?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-can-t-I-add-one-Seriesplot-in-the-LAYOUT-prototype/m-p/282898#M10014</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just defined one template aims to create one histogram change with group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to add another seriesplot to connect the different bars over time for each group. However, when I tried added the SERIESPLOT in the layout prototype, and then run, there was always&amp;nbsp; a WARNING:&lt;/P&gt;
&lt;P&gt;WARNING: The scatterplot statement will not be drawn because one or more of the required arguments were not supplied.&lt;/P&gt;
&lt;P&gt;So could you guide me why this happen? And how should I do to reach my aim.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Jack&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
*******Pot the frequency data by country, visit and the category;
PROC TEMPLATE;
   define statgraph freq_hist;
   begingraph/designwidth=20in designheight=10in;
   dynamic _x _y _title _footnote _rowvar _columnvar _group;
   entrytitle _title;
   entryfootnote _footnote;
   
   layout datalattice ROWVAR=_rowvar columnvar=_columnvar/rows=2 backgroundcolor=aliceblue border=FALSE headerbackgroundcolor=lightblue                                                      
                                                      columnaxisopts=(display=(ticks tickvalues label) griddisplay=ON label="Visit (month)")
                                                      rowaxisopts=(display=(ticks tickvalues label) griddisplay=ON label="Frquency")
													  skipemptycells=TRUE
                                                     cellwidthmin=80;
       layout prototype;
          barchart category=_x Response=_y/group=_group groupdisplay=CLUSTER includemissinggroup=TRUE 
                                            barlabel=TRUE barlabelfitpolicy=NONE barlabelattrs=(color=gray) name="barchart" legendlabel="BCVA Score";
          seriesplot x=_x y=_y/group=_group groupdisplay=CLUSTER ; 
		 **scatterplot x=_x y=_y/group=_group groupdisplay=CLUSTER jitter=AUTO;
	    endlayout;

        sidebar;
         discretelegend "barchart"/backgroundcolor=lightcyan border=TRUE location=INSIDE title="BCVA SCORE";
		endsidebar;

  endlayout;
  endgraph;
end;
run;

 proc sgrender data=VA_country(where=(missing(BCVASCOR1N)=0)) template=freq_hist;
    dynamic _x="VIS2N" _y="COUNT" _label="Frequency plot of the different scores over Visit" _footnote="Test with categorical data illustration.sas"
	        _rowvar="COU1A" _columnvar="EVLEYE1C" _group="BCVASCOR1N"
			;
	format vis2n VIS_month. COU1A $country.;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12733i79BEFBA6CD5B66F0/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Example.png" title="Example.png" /&gt;</description>
      <pubDate>Fri, 08 Jul 2016 10:33:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-can-t-I-add-one-Seriesplot-in-the-LAYOUT-prototype/m-p/282898#M10014</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-07-08T10:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I add one Seriesplot in the LAYOUT prototype?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-can-t-I-add-one-Seriesplot-in-the-LAYOUT-prototype/m-p/282981#M10016</link>
      <description>&lt;P&gt;It is easier to help if you attach full code WITH associated data and any macro variables. &amp;nbsp;The data can be faked to preserve confidentiality, as long as the program runs. &amp;nbsp;Clearly, as per log, some data is not as expected.&amp;nbsp;&amp;nbsp;Also please always include the SAS version you are using. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any reason you are not using SGPANEL?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use " &amp;nbsp;sidebar / spacefill=false; &amp;nbsp;"&amp;nbsp;to shrink&amp;nbsp;legend width.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 15:04:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-can-t-I-add-one-Seriesplot-in-the-LAYOUT-prototype/m-p/282981#M10016</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-07-08T15:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I add one Seriesplot in the LAYOUT prototype?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-can-t-I-add-one-Seriesplot-in-the-LAYOUT-prototype/m-p/285419#M10112</link>
      <description>&lt;P&gt;Dear Sanjay,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure, thanks for your suggestion. The version I am using is SAS 9.4 server version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will take a try on your proposal. Many thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jack.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 01:25:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-can-t-I-add-one-Seriesplot-in-the-LAYOUT-prototype/m-p/285419#M10112</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-07-19T01:25:49Z</dc:date>
    </item>
  </channel>
</rss>

