<?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: Proc Sgplot with band unable to fill in the colors just under the data line, not under the refli in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgplot-with-band-unable-to-fill-in-the-colors-just-under/m-p/452646#M15529</link>
    <description>&lt;P&gt;Without data it is a challenge to make specific recommendations.&lt;/P&gt;
&lt;P&gt;Note that changing the order of the band statements may make a difference in appearance.&lt;/P&gt;
&lt;P&gt;Are your values for &amp;amp;TwoSDPlusAvgTotCasesBusArea explicit values or variables in the data? How do we know what is 'high risk', 'medium risk' etc?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Apr 2018 20:26:20 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-04-09T20:26:20Z</dc:date>
    <item>
      <title>Proc Sgplot with band unable to fill in the colors just under the data line, not under the refline</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgplot-with-band-unable-to-fill-in-the-colors-just-under/m-p/452583#M15527</link>
      <description>&lt;P&gt;I am creating a Proc Shewhart type of Control charts via Sgplot and some&amp;nbsp;call execute macro&amp;nbsp;(we don't have SAS/QC license). It works nicely, but&amp;nbsp;I wanted the band filled in just above the high risk with red color, above medium risk with light red, then yellow and green etc.&amp;nbsp;Don't worry much about the color, but I wanted the color to be filled in just under the actual data line, not entirely under&amp;nbsp;the two std or other refline. I used to do this 3-4 years ago, but forgot how I got that and didn't save my code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone please help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Arial" size="1"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Arial" size="1"&gt;sgplot&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;data&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=vwork.t3CTRLBusArea (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;where&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; = (Business_area=&lt;/FONT&gt;&lt;FONT color="#800080" face="Arial" size="1"&gt;"&amp;amp;BusinessArea."&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;noautolegend&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;nocycleattrs&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;band&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;x&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=Date &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;upper&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=Totcases &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;lower&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=&amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;TwoSDPlusAvgTotCasesBusArea.&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;fillattrs&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;color&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=red);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;band&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;x&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=Date &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;upper&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=&amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;TwoSDPlusAvgTotCasesBusArea.&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;lower&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=&amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;OneSDPlusAvgTotCasesBusArea.&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;fillattrs&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;color&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=lightred);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;band&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;x&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=Date &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;upper&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=&amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;OneSDPlusAvgTotCasesBusArea.&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;lower&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=&amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;AvgTotCasesBusArea.&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;fillattrs&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;color&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=yellow);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;band&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;x&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=Date &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;upper&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=&amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;OneSDMinusAvgTotCasesBusArea.&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;lower&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Arial" size="1"&gt; / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;fillattrs&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;color&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=green);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;series&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;x&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=Date &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;Y&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=TotCases / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;group&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=Business_Area &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;lineattrs&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=Graphdata1 (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;thickness&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Arial" size="1"&gt;mm) ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;refline&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; &amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;AvgTotCasesBusArea.&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;axis&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=y &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;label&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#800080" face="Arial" size="1"&gt;"AVG"&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;lineattrs&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;color&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=green pattern=dash);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;refline&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; &amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;OneSDMinusAvgTotCasesBusArea.&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;axis&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=y &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;label&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#800080" face="Arial" size="1"&gt;"LOW RISK"&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;lineattrs&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;color&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=blue pattern=dash);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;refline&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; &amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;OneSDPlusAvgTotCasesBusArea.&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;axis&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=y &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;label&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#800080" face="Arial" size="1"&gt;"MED RISK"&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;lineattrs&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;color&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=lightred pattern=dash);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;refline&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; &amp;amp;&lt;/FONT&gt;&lt;FONT color="#008080" face="Arial" size="1"&gt;TwoSDPlusAvgTotCasesBusArea.&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt; /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;axis&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=y &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;label&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#800080" face="Arial" size="1"&gt;"HIGH RISK"&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;lineattrs&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;color&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=darkred);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;xaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;display&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=(nolabel); &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Arial" size="1"&gt;yaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Arial" size="1"&gt;label&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Arial" size="1"&gt;"Total xxxx"&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Arial" size="1"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Arial" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 17:49:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgplot-with-band-unable-to-fill-in-the-colors-just-under/m-p/452583#M15527</guid>
      <dc:creator>Venkat4</dc:creator>
      <dc:date>2018-04-09T17:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sgplot with band unable to fill in the colors just under the data line, not under the refli</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgplot-with-band-unable-to-fill-in-the-colors-just-under/m-p/452646#M15529</link>
      <description>&lt;P&gt;Without data it is a challenge to make specific recommendations.&lt;/P&gt;
&lt;P&gt;Note that changing the order of the band statements may make a difference in appearance.&lt;/P&gt;
&lt;P&gt;Are your values for &amp;amp;TwoSDPlusAvgTotCasesBusArea explicit values or variables in the data? How do we know what is 'high risk', 'medium risk' etc?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 20:26:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgplot-with-band-unable-to-fill-in-the-colors-just-under/m-p/452646#M15529</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-09T20:26:20Z</dc:date>
    </item>
  </channel>
</rss>

