<?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 does the label option after the refline statement not work in the PROC sgpanel. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353429#M12280</link>
    <description>&lt;P&gt;Works perfect! &amp;nbsp;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2017 19:52:00 GMT</pubDate>
    <dc:creator>Tiny_Kane</dc:creator>
    <dc:date>2017-04-25T19:52:00Z</dc:date>
    <item>
      <title>Why does the label option after the refline statement not work in the PROC sgpanel.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353311#M12269</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to generate a panel of histogram by using PRCO SGPANEL. Please see my codes below. The output is attached. Why the lable='median' does not show beside each line in the plot? Thank you in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgpanel data=test;&lt;BR /&gt; panelby group;&lt;BR /&gt; histogram q2;&lt;BR /&gt; refline medianline_q2/axis=x lineattrs=(color=red) label="median";&lt;BR /&gt; run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13750i0B6DC04F80A12A86/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="panel histogram.PNG" title="panel histogram.PNG" /&gt;</description>
      <pubDate>Tue, 25 Apr 2017 17:21:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353311#M12269</guid>
      <dc:creator>Tiny_Kane</dc:creator>
      <dc:date>2017-04-25T17:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the label option after the refline statement not work in the PROC sgpanel.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353322#M12270</link>
      <description>&lt;P&gt;When your refline values come from a variable, your labels must also come from a variable. Try RETAINing the "median" value in a variable and referencing that variable from the LABEL option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 17:30:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353322#M12270</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-04-25T17:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the label option after the refline statement not work in the PROC sgpanel.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353402#M12275</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your solution. I tried to create a variable with value='Median' then apply it to the Label option..However, the output looks a little ungly. Do do have any way to refine the font of the label? See the attached plot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13751i09088B904FF2DF15/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="panel histogram.PNG" title="panel histogram.PNG" /&gt;</description>
      <pubDate>Tue, 25 Apr 2017 19:17:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353402#M12275</guid>
      <dc:creator>Tiny_Kane</dc:creator>
      <dc:date>2017-04-25T19:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the label option after the refline statement not work in the PROC sgpanel.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353407#M12276</link>
      <description>&lt;P&gt;Ah..it's drawing the label multiple times. Sorry about that. Instead of RETAINing the value, add the value to the LABEL column only once per cell value. That should do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 19:23:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353407#M12276</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-04-25T19:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the label option after the refline statement not work in the PROC sgpanel.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353429#M12280</link>
      <description>&lt;P&gt;Works perfect! &amp;nbsp;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 19:52:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-does-the-label-option-after-the-refline-statement-not-work/m-p/353429#M12280</guid>
      <dc:creator>Tiny_Kane</dc:creator>
      <dc:date>2017-04-25T19:52:00Z</dc:date>
    </item>
  </channel>
</rss>

