<?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: Text and sgplot scaling issues in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Text-and-sgplot-scaling-issues/m-p/686590#M20508</link>
    <description>&lt;P&gt;Thank you for pointing that out,&amp;nbsp; the values of the ods graph and region were getting swapped, I guess EG 7 is more forgiving.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, text spacing problem still exists, including the title and the value labels, guess I will make it a new post, after I try to figure it out.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2020 02:05:15 GMT</pubDate>
    <dc:creator>ghosh</dc:creator>
    <dc:date>2020-09-25T02:05:15Z</dc:date>
    <item>
      <title>Text and sgplot scaling issues</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Text-and-sgplot-scaling-issues/m-p/686503#M20505</link>
      <description>&lt;P&gt;I have a dashboard that generates PDF out using ODS absolute.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It was developed and runs fine in EG 7.15 (7.100.5.5850) (64-bit) (SAS version: 9.04.01M3P062415)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, in EG 8.1 &amp;nbsp;(8.1.0.4552) (32-bit)&amp;nbsp; (SAS version: 9.04.01M6P110718)&lt;/P&gt;
&lt;P&gt;the bar charts generated with SGplot are not scaling the same as in the former EG version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The text is getting squished and do not fit the same way in the ODS region that worked before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to export the template that is used in EG 7.15 and apply it to the current version and how would I export it?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on / noborder height=7.0cm width=9.750cm antialiasmax=1400  scale=on ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The above is the ods graphics line.&amp;nbsp; Each of the 4 graphs specify their respective ods region, eg the first one:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods region x=0.05cm width=9.50cm  y=17.525cm height=6.5cm;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks for any leads you can provide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 20:10:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Text-and-sgplot-scaling-issues/m-p/686503#M20505</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-09-24T20:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Text and sgplot scaling issues</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Text-and-sgplot-scaling-issues/m-p/686524#M20506</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on / noborder height=7.0cm width=9.750cm antialiasmax=1400  scale=on ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The above is the ods graphics line.&amp;nbsp; Each of the 4 graphs specify their respective ods region, eg the first one:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods region x=0.05cm width=9.50cm  y=17.525cm height=6.5cm;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks for any leads you can provide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If those are your actual settings in one program it appears from the ODS graphics you a creating graphs that are 9.75cm wide and then forcing them to fit into 9.45cm (9.5 - 0.05cm) in the region. Maybe adjust the ODS graphics to be in line with the space you are allocating in the region layout? Or try the Scale=off option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be that the later EG version "fixed" a scale collision if you are using the exact same code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also the ODS styles may have changed a bit somewhere between the two releases. I know I ran into that between SAS 9.2 and 9.3. Fonts being one of the major bits of the styles some change there might have an impact on appearance.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 20:51:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Text-and-sgplot-scaling-issues/m-p/686524#M20506</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-09-24T20:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Text and sgplot scaling issues</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Text-and-sgplot-scaling-issues/m-p/686529#M20507</link>
      <description>&lt;P&gt;Good catch, let me try your suggestion when I get back on to my work computer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I have the ods region and ods graphics dimensions reversed when I typed them out in my post (they are read from a table into macro vars).&amp;nbsp;&amp;nbsp;Yes, I did try with scale off&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still looking for code to save the template used by sgplot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 21:09:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Text-and-sgplot-scaling-issues/m-p/686529#M20507</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-09-24T21:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Text and sgplot scaling issues</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Text-and-sgplot-scaling-issues/m-p/686590#M20508</link>
      <description>&lt;P&gt;Thank you for pointing that out,&amp;nbsp; the values of the ods graph and region were getting swapped, I guess EG 7 is more forgiving.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, text spacing problem still exists, including the title and the value labels, guess I will make it a new post, after I try to figure it out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 02:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Text-and-sgplot-scaling-issues/m-p/686590#M20508</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-09-25T02:05:15Z</dc:date>
    </item>
  </channel>
</rss>

