<?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 Graph axis style question in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graph-axis-style-question/m-p/1742#M552</link>
    <description>I have line graphs with date labels along the horizontal axis.  In EG, the labels are staggered horizontally, but I can manually adjust the labels to have either a vertical or angled layout.  Is there a way I can write the SAS code to make the graphs automatically have a vertical layout?  &lt;BR /&gt;
&lt;BR /&gt;
Turnhlabels is the only line of code I have found, but I can't make it work with proc gcharts.</description>
    <pubDate>Tue, 07 Nov 2006 19:17:23 GMT</pubDate>
    <dc:creator>rab24</dc:creator>
    <dc:date>2006-11-07T19:17:23Z</dc:date>
    <item>
      <title>Graph axis style question</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graph-axis-style-question/m-p/1742#M552</link>
      <description>I have line graphs with date labels along the horizontal axis.  In EG, the labels are staggered horizontally, but I can manually adjust the labels to have either a vertical or angled layout.  Is there a way I can write the SAS code to make the graphs automatically have a vertical layout?  &lt;BR /&gt;
&lt;BR /&gt;
Turnhlabels is the only line of code I have found, but I can't make it work with proc gcharts.</description>
      <pubDate>Tue, 07 Nov 2006 19:17:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graph-axis-style-question/m-p/1742#M552</guid>
      <dc:creator>rab24</dc:creator>
      <dc:date>2006-11-07T19:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Graph axis style question</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graph-axis-style-question/m-p/1743#M553</link>
      <description>Hi,&lt;BR /&gt;
  The AXIS statement will allow you to change the rotation of the label (like 'DATE') or the rotation of the variable values (like '01JAN06' or '01FEB06').&lt;BR /&gt;
  The syntax on the axis statement is very straightforward, and you can select it in the EG task window. The syntax will be something like:&lt;BR /&gt;
[pre]&lt;B&gt;&lt;BR /&gt;
AXIS1 minor=none label=(angle=45) value=(angle=45);&lt;/B&gt;&lt;BR /&gt;
[/pre] but then you have to link the AXIS statement with the SAS/Graph procedure. So, for example, if your procedure of choice is PROC GPLOT, then you would issue a PLOT statement like this:&lt;BR /&gt;
[pre]&lt;B&gt;PLOT YVAR*XVAR/ HAXIS=AXIS1; &lt;/B&gt;[/pre]&lt;BR /&gt;
Basically, it's the same thing with PROC GCHART, only you would have something like:[pre]&lt;B&gt;&lt;BR /&gt;
  vbar3d chartvar / maxis=axis1; [/pre]&lt;/B&gt; specified for the horizontal axis or midpoint axis.&lt;BR /&gt;
&lt;BR /&gt;
However, there is not a good way to set this as the default all the time, because you might want to use a different AXIS statement with different SAS/Graph procedures. &lt;BR /&gt;
           &lt;BR /&gt;
When you are in EG, look under the Horizontal Axis choice in the navigation panel. When you are working with the Horizontal axis, you will find a tab for the Label and a tab to change the Value. You can change the label rotation on the Label tab and the value rotation on the value tab. This should put the correct code into your EG project.&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 07 Nov 2006 23:00:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graph-axis-style-question/m-p/1743#M553</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2006-11-07T23:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Graph axis style question</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graph-axis-style-question/m-p/1744#M554</link>
      <description>Thank you.  The code works perfectly.&lt;BR /&gt;
&lt;BR /&gt;
But I still can't find this option in EG3 for scatter plots.</description>
      <pubDate>Thu, 09 Nov 2006 18:45:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graph-axis-style-question/m-p/1744#M554</guid>
      <dc:creator>rab24</dc:creator>
      <dc:date>2006-11-09T18:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Graph axis style question</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graph-axis-style-question/m-p/1745#M555</link>
      <description>Sorry, I only have EG4 to test with. When I do a Scatter Plot in EG4 and select the click path: &lt;B&gt;&lt;BR /&gt;
Graph --&amp;gt; Scatter Plot  &lt;/B&gt;&lt;BR /&gt;
and then after selecting Task Roles for my data (to put my date on the horizontal axis), I can select:&lt;B&gt;&lt;BR /&gt;
Horizontal Axis --&amp;gt; Label TAB --&amp;gt; Label Rotation --&amp;gt; 45 &lt;/B&gt;(the Label Rotation choice is under the big white box for entering the Label value) and &lt;B&gt;    &lt;BR /&gt;
Horizontal Axis --&amp;gt; Values TAB --&amp;gt; Value Rotation --&amp;gt; 45&lt;/B&gt; (The Value Rotation choice is directly underneath the drop down box for selecting a Font for the Values)&lt;BR /&gt;
&lt;BR /&gt;
  &lt;BR /&gt;
You may have to contact Tech Support to find out how to do this in EG 3. I -thought- the rotation option was also available in the Task Window in EG3. &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 09 Nov 2006 19:44:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Graph-axis-style-question/m-p/1745#M555</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2006-11-09T19:44:34Z</dc:date>
    </item>
  </channel>
</rss>

