<?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: how to display keylegend to second page? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/how-to-display-keylegend-to-second-page/m-p/557148#M18109</link>
    <description>&lt;P&gt;You can use the ODS Graphics statement to make the space available to graph images bigger.&lt;/P&gt;
&lt;P&gt;You say "next page". Which ODS destination are you using? Almost any approach with "pages" requires knowing the file type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS Graphics/ height=12in;&lt;/P&gt;
&lt;P&gt;would set the image to be 12 inches high which may allow your keylegend to fit. Additional width may also help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to say the idea of 50 lines on a single plot tends to make me cringe in general.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are not actually going to print your result, only need electronic files,&amp;nbsp;then you may also want to play with the PAPERSIZE option to allow for additional addressable space by the ODS Graphics settings.&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2019 14:56:05 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-05-08T14:56:05Z</dc:date>
    <item>
      <title>how to display keylegend to second page?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-display-keylegend-to-second-page/m-p/557116#M18107</link>
      <description>&lt;P&gt;if I have 50 products, and I will have 50 lines in the plot.&lt;/P&gt;&lt;P&gt;it won't show keylegend since it will take too much space. &amp;nbsp;if I want to show keylegend and want to put it in the next page, how should I do that? thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* this is Example 4: Creating a Panel of Line Charts
* from SAS 9.4 ODS Graphics: Procedures Guide, Sixth
* Edition, SGPANEL Procedure. ;

proc sgpanel data=sashelp.prdsale;
  where product in ("CHAIR" "SOFA");
  title "Yearly Sales by Product";
  panelby year / spacing=5 novarname;
  vline month / response=actual group=product;
  title 'Default font size for keylegend';
run;
title;

proc sgpanel data=sashelp.prdsale;
  where product in ("CHAIR" "SOFA");
  title "Yearly Sales by Product";
  panelby year / spacing=5 novarname;
  vline month / response=actual group=product;
  keylegend / title="Product"
              titleattrs=(Size=14) 
              valueattrs=(Family=Arial Size=14);
  title 'TITLEATTRS= changes size of font for title of legend';
  title2 'VALUEATTRS= changes size of legend value labels';
run;
title;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:02:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-display-keylegend-to-second-page/m-p/557116#M18107</guid>
      <dc:creator>magicdj</dc:creator>
      <dc:date>2019-05-08T14:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to display keylegend to second page?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-display-keylegend-to-second-page/m-p/557148#M18109</link>
      <description>&lt;P&gt;You can use the ODS Graphics statement to make the space available to graph images bigger.&lt;/P&gt;
&lt;P&gt;You say "next page". Which ODS destination are you using? Almost any approach with "pages" requires knowing the file type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS Graphics/ height=12in;&lt;/P&gt;
&lt;P&gt;would set the image to be 12 inches high which may allow your keylegend to fit. Additional width may also help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to say the idea of 50 lines on a single plot tends to make me cringe in general.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are not actually going to print your result, only need electronic files,&amp;nbsp;then you may also want to play with the PAPERSIZE option to allow for additional addressable space by the ODS Graphics settings.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:56:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-display-keylegend-to-second-page/m-p/557148#M18109</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-05-08T14:56:05Z</dc:date>
    </item>
  </channel>
</rss>

