<?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: Space between the bars in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Space-between-the-bars/m-p/210942#M7842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The OFFSETMIN=0 is what's causing your left bar to clip. either increase the offset (perhaps offsetmin=.05) or just remove the option altogether.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 14:07:02 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2015-05-07T14:07:02Z</dc:date>
    <item>
      <title>Space between the bars</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Space-between-the-bars/m-p/210941#M7841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not an expert regarding sas graphs but I managed to create a graph based on proc template but I am not there yet. As you can see the picture below I want to move the bar on the left more to the right... I have tried barwidth and ods graphics but it didnt work. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="graph.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10299_graph.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appriciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Johan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input CU_AGE $ MALGRUPPE REFERANSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;0-17 0.1 0.3&lt;/P&gt;&lt;P&gt;18-25 0.2 0.1&lt;/P&gt;&lt;P&gt;26-35 0.4 0.6&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;define statgraph profile_age;&lt;/P&gt;&lt;P&gt;dynamic _NEGATIVE_;&lt;/P&gt;&lt;P&gt;dynamic _ticklist_;&lt;/P&gt;&lt;P&gt;begingraph /;&lt;/P&gt;&lt;P&gt;entrytitle "";&lt;/P&gt;&lt;P&gt;layout overlay / xaxisopts=( griddisplay=on Label="% av målgruppe" offsetmin=0 type=discrete ) yaxisopts=( /*reverse=true*/ display=( ticks tickvalues line ) type=linear ) y2axisopts=(reverse=true);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if (_NEGATIVE_)&amp;nbsp;&amp;nbsp; ReferenceLine x=0 / lineattrs=GraphAxisLines;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; endif;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; barchart X='CU_AGE'n Y='MALGRUPPE'n / primary=true orient=vertical LegendLabel="Aldersgruppe" NAME="a" dataskin=PRESSED&amp;nbsp; target=REFERANSE barlabel=true barwidth=0.1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /*ScatterPlot X='TARGET'n Y='CU_GENDER'n / discreteOffset=-0.35 Markerattrs=( Symbol=TRIANGLEDOWNFILLED Size=10) DataTransparency=0.4 LegendLabel="normale population" NAME="t";*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; DiscreteLegend "a" "t" / Location=outside Title="";&lt;/P&gt;&lt;P&gt;endlayout;&lt;/P&gt;&lt;P&gt;endgraph;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics on / height=500px width=600px;&lt;/P&gt;&lt;P&gt;proc sgrender data=work.test template=profile_age;&lt;/P&gt;&lt;P&gt; format 'MALGRUPPE'n&amp;nbsp; percent12.1;&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;P&gt;ods graphics off;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 10:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Space-between-the-bars/m-p/210941#M7841</guid>
      <dc:creator>JohanFu</dc:creator>
      <dc:date>2015-05-07T10:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Space between the bars</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Space-between-the-bars/m-p/210942#M7842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The OFFSETMIN=0 is what's causing your left bar to clip. either increase the offset (perhaps offsetmin=.05) or just remove the option altogether.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:07:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Space-between-the-bars/m-p/210942#M7842</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2015-05-07T14:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Space between the bars</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Space-between-the-bars/m-p/210943#M7843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much sir &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 21:12:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Space-between-the-bars/m-p/210943#M7843</guid>
      <dc:creator>JohanFu</dc:creator>
      <dc:date>2015-05-07T21:12:42Z</dc:date>
    </item>
  </channel>
</rss>

