<?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: DataLattice borders question in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/DataLattice-borders-question/m-p/20784#M516</link>
    <description>Thanks Dan!  That did the trick.  The statistician is very proud of her graph.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  She's really been taking to the whole GTL thing.</description>
    <pubDate>Fri, 14 May 2010 15:48:17 GMT</pubDate>
    <dc:creator>SusanParker</dc:creator>
    <dc:date>2010-05-14T15:48:17Z</dc:date>
    <item>
      <title>DataLattice borders question</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/DataLattice-borders-question/m-p/20782#M514</link>
      <description>Hi!&lt;BR /&gt;
&lt;BR /&gt;
My statistician has a 3 row by 7 column data lattice.  She wants to have what would amount to the x-axis line on each row, but she doesn't want the column borders.  Is it possible to do that?  This version of the code that I've included turns on all of the borders with the walldisplay=(outline) on the layout prototype.  She'd settle for being able to put a reference line at y=0, but wasn't able to figure out how to do that.  If she uses walldisplay=(fill) she gets no column borders, but also no borders between the rows.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance for any assistance.&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
VALUE groupf&lt;BR /&gt;
      1 = "Group 1"&lt;BR /&gt;
      2 = "Group 2"&lt;BR /&gt;
      3 = "Group 3"&lt;BR /&gt;
      4 = "Group 4"&lt;BR /&gt;
      5 = "Group 5"&lt;BR /&gt;
      6 = "Group 6"&lt;BR /&gt;
      7 = "Group 7";&lt;BR /&gt;
&lt;BR /&gt;
value timeptf &lt;BR /&gt;
	1='Pre-Dose'  &lt;BR /&gt;
	2='Post-Dose';&lt;BR /&gt;
&lt;BR /&gt;
value daysf 1='Visit 1'  &lt;BR /&gt;
 			2='Visit 2'  &lt;BR /&gt;
			3='Visit 3'  &lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
	attrib armcd length=8. label='Group' format=groupf.;&lt;BR /&gt;
	attrib testcd length=$3. label='Test';&lt;BR /&gt;
	attrib lbtptnum length=8. label='Time point' format=timeptf.;&lt;BR /&gt;
	attrib means length=8. label='Mean Value';&lt;BR /&gt;
	attrib visit length=8. label='Visit' format=daysf.;&lt;BR /&gt;
   infile datalines dsd;&lt;BR /&gt;
   input armcd testcd lbtptnum means visit ;&lt;BR /&gt;
	datalines4;&lt;BR /&gt;
1,C3A,1,933.16666667,1&lt;BR /&gt;
1,C3A,2,1138.6666667,1&lt;BR /&gt;
2,C3A,1,594.28571429,1&lt;BR /&gt;
2,C3A,2,1062.2857143,1&lt;BR /&gt;
3,C3A,1,940.85714286,1&lt;BR /&gt;
3,C3A,2,3914,1&lt;BR /&gt;
4,C3A,1,945.75,1&lt;BR /&gt;
4,C3A,2,3182.375,1&lt;BR /&gt;
5,C3A,1,981.61538462,1&lt;BR /&gt;
5,C3A,2,4023.2307692,1&lt;BR /&gt;
6,C3A,1,815.33333333,1&lt;BR /&gt;
6,C3A,2,4126.5,1&lt;BR /&gt;
7,C3A,1,1112.1666667,1&lt;BR /&gt;
7,C3A,2,7599.1666667,1&lt;BR /&gt;
1,C3A,1,808.5,2&lt;BR /&gt;
1,C3A,2,964.33333333,2&lt;BR /&gt;
2,C3A,1,619,2&lt;BR /&gt;
2,C3A,2,1164.1428571,2&lt;BR /&gt;
3,C3A,1,999.14285714,2&lt;BR /&gt;
3,C3A,2,8225.5714286,2&lt;BR /&gt;
4,C3A,1,1111.625,2&lt;BR /&gt;
4,C3A,2,10011.875,2&lt;BR /&gt;
5,C3A,1,1295.4166667,2&lt;BR /&gt;
5,C3A,2,9587.0833333,2&lt;BR /&gt;
6,C3A,1,1190,2&lt;BR /&gt;
6,C3A,2,10221.166667,2&lt;BR /&gt;
7,C3A,1,1259.1666667,2&lt;BR /&gt;
7,C3A,2,11695,2&lt;BR /&gt;
1,C3A,1,845.33333333,3&lt;BR /&gt;
1,C3A,2,1066.8333333,3&lt;BR /&gt;
2,C3A,1,566.85714286,3&lt;BR /&gt;
2,C3A,2,1251.1428571,3&lt;BR /&gt;
3,C3A,1,853.14285714,3&lt;BR /&gt;
3,C3A,2,3199.5714286,3&lt;BR /&gt;
4,C3A,1,1373.3333333,3&lt;BR /&gt;
4,C3A,2,4659,3&lt;BR /&gt;
5,C3A,1,941.33333333,3&lt;BR /&gt;
5,C3A,2,4191.7272727,3&lt;BR /&gt;
6,C3A,1,762.5,3&lt;BR /&gt;
6,C3A,2,3514.1666667,3&lt;BR /&gt;
7,C3A,1,1116.6666667,3&lt;BR /&gt;
7,C3A,2,6369,3&lt;BR /&gt;
;;;;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ODS path (prepend) work.tempgrap;&lt;BR /&gt;
&lt;BR /&gt;
proc template; &lt;BR /&gt;
   define statgraph prepost2/store=work.tempgrap; &lt;BR /&gt;
     begingraph; &lt;BR /&gt;
	 	 layout gridded /  border=false;&lt;BR /&gt;
      layout datalattice columnvar=armcd rowvar=visit/ rows=3 columns=7 &lt;BR /&gt;
			headerlabeldisplay=value rowdatarange=union  cellwidthmin=60  &lt;BR /&gt;
             columnheaders=bottom border=true columndatarange=union  &lt;BR /&gt;
             columnaxisopts=(display=(line) DISPLAYSECONDARY=(line))&lt;BR /&gt;
             rowdatarange=union rowgutter=2px &lt;BR /&gt;
             headerbackgroundcolor=GraphAltBlock:color &lt;BR /&gt;
&lt;BR /&gt;
			 rowdatarange=union&lt;BR /&gt;
    		 rowheaders=right&lt;BR /&gt;
  			 headerlabelattrs=(weight=bold)&lt;BR /&gt;
  			 headeropaque=true&lt;BR /&gt;
&lt;BR /&gt;
			 rowaxisopts=(offsetmin=0 linearopts=(viewmax=14000 tickvaluepriority=true &lt;BR /&gt;
             tickvaluesequence=(start=0 end=14000 increment=2000) ) &lt;BR /&gt;
			 display=(line ticks tickvalues) DISPLAYSECONDARY=(line) &lt;BR /&gt;
			 label='Mean Concentration (ug/dL)' griddisplay=on display=all); &lt;BR /&gt;
&lt;BR /&gt;
			  layout prototype / walldisplay=(outline) cycleattrs=false;&lt;BR /&gt;
          barchart x=LBTPTNUM y=means/ group=LBTPTNUM name='a' skin=modern&lt;BR /&gt;
                                   outlineattrs=(color=black) primary=true;&lt;BR /&gt;
		  endlayout;&lt;BR /&gt;
		endlayout;&lt;BR /&gt;
      entry ' ';&lt;BR /&gt;
      discretelegend 'a' / title='Time: ' border=true across=2; &lt;BR /&gt;
      endlayout;&lt;BR /&gt;
 endgraph;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
&lt;BR /&gt;
ods rtf file='test.rtf';&lt;BR /&gt;
&lt;BR /&gt;
proc sgrender data=test template=prepost2;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods listing;&lt;BR /&gt;
ods rtf close;&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 12 May 2010 23:58:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/DataLattice-borders-question/m-p/20782#M514</guid>
      <dc:creator>SusanParker</dc:creator>
      <dc:date>2010-05-12T23:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: DataLattice borders question</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/DataLattice-borders-question/m-p/20783#M515</link>
      <description>This prototype should give you what you want:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
layout prototype / walldisplay=(fill) cycleattrs=false;&lt;BR /&gt;
   referenceline y=0;&lt;BR /&gt;
   barchart x=LBTPTNUM y=means/ group=LBTPTNUM name='a' skin=modern&lt;BR /&gt;
            outlineattrs=(color=black) primary=true;&lt;BR /&gt;
endlayout;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Cool graph, btw &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Dan</description>
      <pubDate>Thu, 13 May 2010 03:23:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/DataLattice-borders-question/m-p/20783#M515</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2010-05-13T03:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: DataLattice borders question</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/DataLattice-borders-question/m-p/20784#M516</link>
      <description>Thanks Dan!  That did the trick.  The statistician is very proud of her graph.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  She's really been taking to the whole GTL thing.</description>
      <pubDate>Fri, 14 May 2010 15:48:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/DataLattice-borders-question/m-p/20784#M516</guid>
      <dc:creator>SusanParker</dc:creator>
      <dc:date>2010-05-14T15:48:17Z</dc:date>
    </item>
  </channel>
</rss>

