<?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: Adding symbol at the end of bars in a waterfall plot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394646#M13533</link>
    <description>&lt;P&gt;Hi Reeza--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I'm running in a client's system, and I'm pretty much stuck with 9.2. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp; But thanks for replying! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2017 12:19:41 GMT</pubDate>
    <dc:creator>VCM</dc:creator>
    <dc:date>2017-09-11T12:19:41Z</dc:date>
    <item>
      <title>Adding symbol at the end of bars in a waterfall plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394363#M13526</link>
      <description>&lt;P&gt;I am creating a waterfall plot where I need to add a hash symbol to then end of any bar where VAR1 has a certain value. &amp;nbsp;I've created variable ZZ with value = "#" when VAR1 meets the condition (if VAR1 = 1, then ZZ = "#").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, how do I add this in the proc template? &amp;nbsp;I tried markersymbol, but it puts the symbol on the zero (beginning of the bar), not at the end:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;define statgraph &amp;amp;repbase.;&lt;BR /&gt;begingraph;&lt;BR /&gt;entrytitle "(Number of Subjects = &amp;amp;num)"/TEXTATTRS=(weight=bold size=10pt);&lt;BR /&gt;layout overlay/xaxisopts=(label="Subjects" labelattrs=(weight=bold size=8pt)&lt;BR /&gt;griddisplay=on tickvalueattrs=(weight=bold size=7pt) type=discrete&lt;BR /&gt;display=(&amp;amp;x_axis_display))&lt;BR /&gt;yaxisopts=(label="&amp;amp;YAXIS_LABEL" labelattrs=(weight=bold size=8pt)&lt;BR /&gt;griddisplay=on&lt;BR /&gt;tickvalueattrs=(weight=bold size=8pt)&lt;BR /&gt;linearopts=(&amp;amp;y_axis_scale )&lt;BR /&gt;griddisplay=on);&lt;BR /&gt;barchart x=usubjid y=min/ group=TRT01AN name="trt" barwidth=0.4;&lt;BR /&gt;scatterplot x=usubjid y=label2/&lt;STRONG&gt;MARKERCHARACTER=zz &lt;/STRONG&gt;MARKERCHARACTERATTRS=(weight=bold size=6pt);&lt;BR /&gt;referenceline y=-30 /lineattrs=(thickness=1px pattern=34 color=cx000000 ) CURVELABELATTRS=(weight=bold size=8pt);&lt;BR /&gt;referenceline y=20/lineattrs=(thickness=1px pattern=34 color=cx000000 ) CURVELABELATTRS=(weight=bold size=8pt);&lt;/P&gt;&lt;P&gt;discretelegend "trt"/title="Treatment Group:" &amp;nbsp;titleattrs=(weight=bold size=10pt) valueattrs=(weight=bold size=10pt);&lt;BR /&gt;endlayout;&lt;BR /&gt;endgraph;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgrender data=tmm_plot template=&amp;amp;repbase.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that I am using SAS 9.2. &amp;nbsp;Is there an option I can use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 21:43:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394363#M13526</guid>
      <dc:creator>VCM</dc:creator>
      <dc:date>2017-09-08T21:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding symbol at the end of bars in a waterfall plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394365#M13527</link>
      <description>&lt;P&gt;If you're using SAS 9.4 maybe DATALABEL options instead?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/grstatgraph/69718/HTML/default/viewer.htm#p08qhdljvzthmnn1vkbule00ad6r.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/grstatgraph/69718/HTML/default/viewer.htm#p08qhdljvzthmnn1vkbule00ad6r.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 21:49:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394365#M13527</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-08T21:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding symbol at the end of bars in a waterfall plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394392#M13528</link>
      <description>&lt;P&gt;With SAS 9.2, you can overlay a SCATTERPLOT statement on the BARCHART statement using GTL as you have done. &amp;nbsp;Maybe&amp;nbsp;the value of the "label2" variable is not correctly computed. &amp;nbsp;I did the something similar in this article to place the asterix on some bars using SGPLOT. &amp;nbsp;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2017/07/30/clinical-graphs-waterfall-plot/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2017/07/30/clinical-graphs-waterfall-plot/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Sep 2017 02:51:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394392#M13528</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2017-09-09T02:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding symbol at the end of bars in a waterfall plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394638#M13532</link>
      <description>&lt;P&gt;Thank you, Sanjay, that was exactly it!&amp;nbsp; I updated the label2 value (defined in&amp;nbsp;the body of the program)&amp;nbsp;as min + 4 (for positive values) or min - 4 (for negative values), to allow a little bit of space between the edge of the bar and the symbol.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 11:22:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394638#M13532</guid>
      <dc:creator>VCM</dc:creator>
      <dc:date>2017-09-11T11:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding symbol at the end of bars in a waterfall plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394646#M13533</link>
      <description>&lt;P&gt;Hi Reeza--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I'm running in a client's system, and I'm pretty much stuck with 9.2. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp; But thanks for replying! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 12:19:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-symbol-at-the-end-of-bars-in-a-waterfall-plot/m-p/394646#M13533</guid>
      <dc:creator>VCM</dc:creator>
      <dc:date>2017-09-11T12:19:41Z</dc:date>
    </item>
  </channel>
</rss>

