<?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: Gchart Bar Width in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Bar-Width/m-p/19568#M440</link>
    <description>This one's hard to answer exactly, without having the data to experiment with, but here are a couple of ideas ...&lt;BR /&gt;
&lt;BR /&gt;
Perhaps you could make the entire chart taller (such as using "goptions ypixels=1000"), which would give more room for wider bars.&lt;BR /&gt;
&lt;BR /&gt;
Perhaps try changing the device (there might be slight differences in bar spacing between dev=gif and dev=png, and there will certainly be differences with dev=actximg and dev=javaimg).&lt;BR /&gt;
&lt;BR /&gt;
And if the values along the bottom/response axis of your hbar chart have a format applied, and if that format 'pads' on a lot of extra space on the left (such as if you're using the "comma20." format, when your numbers only need 4 or 5 digits), then you might try using a smaller format to free up some space to be used by wider bars in the bar chart.&lt;BR /&gt;
&lt;BR /&gt;
These are just some ideas - not really sure if any of them will be your "silver bullet" though! :)

Message was edited by: Robert Allison @ SAS</description>
    <pubDate>Thu, 19 Nov 2009 18:39:18 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2009-11-19T18:39:18Z</dc:date>
    <item>
      <title>Gchart Bar Width</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Bar-Width/m-p/19567#M439</link>
      <description>I would like to increase the width of the bars.&lt;BR /&gt;
bu1 has two categories and question has 4 categories (8 bars).&lt;BR /&gt;
I've tried changing the width and space, but I keep getting this warning:&lt;BR /&gt;
WARNING: There was not enough room to use the specified width of 10 for the bars.&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know how to get around this problem and increase the width of the bars?&lt;BR /&gt;
&lt;BR /&gt;
proc gchart data=bar1 anno=my_anno1; &lt;BR /&gt;
	hbar bu1 / discrete&lt;BR /&gt;
 	nostats&lt;BR /&gt;
 	type=sum sumvar=catpct &lt;BR /&gt;
	group=question&lt;BR /&gt;
 	subgroup=qs&lt;BR /&gt;
 	autoref clipref cref=graycc&lt;BR /&gt;
 	maxis=axis1&lt;BR /&gt;
 	raxis=axis2&lt;BR /&gt;
	width=10&lt;BR /&gt;
 	legend=legend1&lt;BR /&gt;
 	coutline=black &lt;BR /&gt;
 	/*space=15*/</description>
      <pubDate>Thu, 19 Nov 2009 18:32:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gchart-Bar-Width/m-p/19567#M439</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-11-19T18:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Gchart Bar Width</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Bar-Width/m-p/19568#M440</link>
      <description>This one's hard to answer exactly, without having the data to experiment with, but here are a couple of ideas ...&lt;BR /&gt;
&lt;BR /&gt;
Perhaps you could make the entire chart taller (such as using "goptions ypixels=1000"), which would give more room for wider bars.&lt;BR /&gt;
&lt;BR /&gt;
Perhaps try changing the device (there might be slight differences in bar spacing between dev=gif and dev=png, and there will certainly be differences with dev=actximg and dev=javaimg).&lt;BR /&gt;
&lt;BR /&gt;
And if the values along the bottom/response axis of your hbar chart have a format applied, and if that format 'pads' on a lot of extra space on the left (such as if you're using the "comma20." format, when your numbers only need 4 or 5 digits), then you might try using a smaller format to free up some space to be used by wider bars in the bar chart.&lt;BR /&gt;
&lt;BR /&gt;
These are just some ideas - not really sure if any of them will be your "silver bullet" though! :)

Message was edited by: Robert Allison @ SAS</description>
      <pubDate>Thu, 19 Nov 2009 18:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gchart-Bar-Width/m-p/19568#M440</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2009-11-19T18:39:18Z</dc:date>
    </item>
  </channel>
</rss>

