<?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: Panelby issue in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Panelby-issue/m-p/423383#M14605</link>
    <description>&lt;P&gt;Remove BP_status from the panelby statement. Or change to rows=2 and columns=3 to get the deathcause in a separate panel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The order of groupings on the panelby statement would depend on what you want to compare easily. With t&lt;/P&gt;
&lt;P&gt;panelby deathcause BP_Status / rows=2 columns=&amp;nbsp;3 novarname; I would expect that the deathcause would be on a single row and the BP_status would align underneath which would show the BP_status within deathcause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I wanted to see if similar BP_status had different deathcause I might go with&lt;/P&gt;
&lt;P&gt;panelby BP_Status&amp;nbsp; deathcause/ rows=3 columns=&amp;nbsp;2 novarname;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The layout should support you main purpose of showing the graph at all.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Dec 2017 21:13:25 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-12-22T21:13:25Z</dc:date>
    <item>
      <title>Panelby issue</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Panelby-issue/m-p/423379#M14604</link>
      <description>&lt;P&gt;Below is my code and&amp;nbsp;my output . The blue marked part&amp;nbsp; was repeated. How can I remove the repeated part.&amp;nbsp; I only want to display one "&lt;SPAN&gt;Coronary Heart Disease&lt;/SPAN&gt;" and one "&lt;SPAN&gt;Cerebral Vascular Disease&lt;/SPAN&gt;" on the header.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data heart;&lt;BR /&gt;set sashelp.heart;&lt;BR /&gt;where DeathCause in ("Coronary Heart Disease",'Cerebral Vascular Disease') and AgeAtStart&amp;gt;60;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sgpanel data=heart;&lt;BR /&gt;panelby deathcause BP_Status / rows=1 columns= 6 novarname;&lt;BR /&gt;vbar ageatdeath / group=sex groupdisplay=cluster ;&lt;BR /&gt;rowaxis refticks=(values);&lt;BR /&gt;keylegend / title='' noborder;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17515iA0E2835B6D730AF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 20:27:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Panelby-issue/m-p/423379#M14604</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-12-22T20:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Panelby issue</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Panelby-issue/m-p/423383#M14605</link>
      <description>&lt;P&gt;Remove BP_status from the panelby statement. Or change to rows=2 and columns=3 to get the deathcause in a separate panel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The order of groupings on the panelby statement would depend on what you want to compare easily. With t&lt;/P&gt;
&lt;P&gt;panelby deathcause BP_Status / rows=2 columns=&amp;nbsp;3 novarname; I would expect that the deathcause would be on a single row and the BP_status would align underneath which would show the BP_status within deathcause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I wanted to see if similar BP_status had different deathcause I might go with&lt;/P&gt;
&lt;P&gt;panelby BP_Status&amp;nbsp; deathcause/ rows=3 columns=&amp;nbsp;2 novarname;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The layout should support you main purpose of showing the graph at all.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 21:13:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Panelby-issue/m-p/423383#M14605</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-22T21:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Panelby issue</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Panelby-issue/m-p/423387#M14607</link>
      <description>&lt;P&gt;Thanks for your response. I just took heart dataset as an example. Unfortunately, our shell only has one row.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 21:23:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Panelby-issue/m-p/423387#M14607</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-12-22T21:23:59Z</dc:date>
    </item>
  </channel>
</rss>

