<?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: Need help! To get the values inside the bars with center alignment in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436841#M15061</link>
    <description>&lt;P&gt;Can you please send me any dummy code&amp;nbsp;for second option that you have suggested. So that I can get better understanding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2018 19:52:02 GMT</pubDate>
    <dc:creator>pavansvc</dc:creator>
    <dc:date>2018-02-13T19:52:02Z</dc:date>
    <item>
      <title>Need help! To get the values inside the bars with center alignment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436829#M15059</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here am facing an issue to get the values inside the bars with center alignment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the code that I have used for getting those values inside the bars but couldn't able to get them center aligned. Any help please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;scatter x= Months_from_initial_diagnosis_to y= subjid /markerchar=Months_from_initial_diagnosis_to markercharattrs=(family='arial' color=black weight=bold size=8pt);&lt;BR /&gt;&lt;BR /&gt;scatter x=Months_from_administrat y= subjid / markerchar = Months_from_administrat markercharattrs=(family='arial' color=black weight=bold size=8pt) &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/18500iAACE76F7FE36412C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:49:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436829#M15059</guid>
      <dc:creator>pavansvc</dc:creator>
      <dc:date>2018-02-13T19:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help! To get the values inside the bars with center alignment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436835#M15060</link>
      <description>&lt;P&gt;Did you try DATALABELS instead on the _BAR statement? You can apply the CENTER option to those which seems like it would be an option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise I think you'll need to adjust your X coordinate, pad it with a few months or calculate the center where it should be located and use that as the X location instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/193225"&gt;@pavansvc&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here am facing an issue to get the values inside the bars with center alignment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Following is the code that I have used for getting those values inside the bars but couldn't able to get them center aligned. Any help please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;scatter x= Months_from_initial_diagnosis_to y= subjid /markerchar=Months_from_initial_diagnosis_to markercharattrs=(family='arial' color=black weight=bold size=8pt);&lt;BR /&gt;&lt;BR /&gt;scatter x=Months_from_Toca_511_administrat y= subjid / markerchar = Months_from_Toca_511_administrat markercharattrs=(family='arial' color=black weight=bold size=8pt) &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/18500iAACE76F7FE36412C/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;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:42:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436835#M15060</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-13T19:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need help! To get the values inside the bars with center alignment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436841#M15061</link>
      <description>&lt;P&gt;Can you please send me any dummy code&amp;nbsp;for second option that you have suggested. So that I can get better understanding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436841#M15061</guid>
      <dc:creator>pavansvc</dc:creator>
      <dc:date>2018-02-13T19:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need help! To get the values inside the bars with center alignment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436842#M15062</link>
      <description>&lt;P&gt;VBAR and HBAR also also support SEGLABEL with SAS 9.40M2 release.&amp;nbsp; This makes it much easier to label each segment of a stacked bar.&amp;nbsp;&amp;nbsp;&lt;A href="http://support.sas.com/kb/55/866.html" target="_blank"&gt;http://support.sas.com/kb/55/866.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436842#M15062</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-02-13T19:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need help! To get the values inside the bars with center alignment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436860#M15063</link>
      <description>&lt;P&gt;Can you provide data and code so I can replicate your current graph?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mocking up the data and graph from scratch is quite a bit of work (that you’ve already done) and I also can’t see your other code which may impact the results. If you can’t provide your data, try using one of the datasets in SASHELP instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what version of SAS are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Feb 2018 20:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436860#M15063</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-13T20:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help! To get the values inside the bars with center alignment</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436861#M15064</link>
      <description>&lt;P&gt;Can you provide data and code so I can replicate your current graph?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mocking up the data and graph from scratch is quite a bit of work (that you’ve already done) and I also can’t see your other code which may impact the results. If you can’t provide your data, try using one of the datasets in SASHELP instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what version of SAS are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Feb 2018 20:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Need-help-To-get-the-values-inside-the-bars-with-center/m-p/436861#M15064</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-13T20:50:15Z</dc:date>
    </item>
  </channel>
</rss>

