<?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: removing blank space between chart and legend in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67944#M2356</link>
    <description>Bill;&lt;BR /&gt;
&lt;BR /&gt;
There's lots of good help in sashelp.  Look for legend statement under SAS/GRAPH Statements</description>
    <pubDate>Fri, 12 Mar 2010 15:58:43 GMT</pubDate>
    <dc:creator>Bill</dc:creator>
    <dc:date>2010-03-12T15:58:43Z</dc:date>
    <item>
      <title>removing blank space between chart and legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67942#M2354</link>
      <description>I have a number of gcharts.  I've placed the legend at the bottom center but this often leaves a large blank space on the page.  Is there a way of moving the legend up against the chart?</description>
      <pubDate>Fri, 12 Mar 2010 15:50:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67942#M2354</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-12T15:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: removing blank space between chart and legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67943#M2355</link>
      <description>With traditional SAS/Graph procs (such as gchart), you can use a legend statement, and specify mode=share and/or specify an offset= to move the legend from the default location.&lt;BR /&gt;
&lt;BR /&gt;
For example, you could use a blank footnote statement to add the desired amount of white-space at the bottom of the page:&lt;BR /&gt;
&lt;BR /&gt;
  footnote1 height=5pct " ";&lt;BR /&gt;
&lt;BR /&gt;
And then a legend statement something like the following untested pseudo-code...&lt;BR /&gt;
&lt;BR /&gt;
  legend1 mode=share position=(bottom middle) offset=(0,-5);</description>
      <pubDate>Fri, 12 Mar 2010 15:57:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67943#M2355</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-03-12T15:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: removing blank space between chart and legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67944#M2356</link>
      <description>Bill;&lt;BR /&gt;
&lt;BR /&gt;
There's lots of good help in sashelp.  Look for legend statement under SAS/GRAPH Statements</description>
      <pubDate>Fri, 12 Mar 2010 15:58:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67944#M2356</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2010-03-12T15:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: removing blank space between chart and legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67945#M2357</link>
      <description>So there is no way to dynamically set this.  It has to be set differently for each chart.&lt;BR /&gt;
&lt;BR /&gt;
I have some 50 charts all of which are generated fairly dynamically so I don't need to change much over time.  I need a way of setting this that does no require me to manually tweak each chart.</description>
      <pubDate>Fri, 12 Mar 2010 16:01:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67945#M2357</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-12T16:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: removing blank space between chart and legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67946#M2358</link>
      <description>Are you saying the number of items in the legend varies (a lot) for each chart?&lt;BR /&gt;
&lt;BR /&gt;
If the legend varies a lot for each chart, you might need to just let it auto-position for each one (if you manually tweak the legend, it can be hard to guarantee it will work with all graphs, if the number of items in the legend varies greatly).</description>
      <pubDate>Mon, 15 Mar 2010 14:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/removing-blank-space-between-chart-and-legend/m-p/67946#M2358</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-03-15T14:53:03Z</dc:date>
    </item>
  </channel>
</rss>

