<?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: proc sgplot xaxis rotation in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625866#M19490</link>
    <description>&lt;P&gt;You need to use ROTATEALWAYS instead of ROTATE for your fit policy to you want them to rotate when there is no collision.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2020 15:10:41 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2020-02-19T15:10:41Z</dc:date>
    <item>
      <title>proc sgplot xaxis rotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625856#M19486</link>
      <description>&lt;P&gt;Hi....I am trying to get the xaxis tickvalues rotated nothing seems to work that I have tried. I even tried re-formatting the values for the xaxis to shorten then in length in characters. Right now the values are displayed at a 45 degrees and I would like them to be at 90 degrees. Any suggestions....thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=want21;
 	series x=Term y=Retention /  lineattrs=(color=blue thickness=2);
	series x=Term y=Persistence /  lineattrs=(color=red thickness=2);
	xaxis type=discrete fitpolicy=rotate valuesrotate=vertical;
	xaxis label='Year-Term' valueattrs=(size=7pt) labelattrs=(size=12pt weight=bold) ;
	yaxis label='Percentage' values=(0.5 to 1 by .1) valueattrs=(size=10pt) labelattrs=(size=12pt weight=bold);
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Feb 2020 14:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625856#M19486</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2020-02-19T14:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot xaxis rotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625859#M19487</link>
      <description>&lt;P&gt;Use VALUESROTATE=VERTICAL on the XAXIS statement.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 14:54:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625859#M19487</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2020-02-19T14:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot xaxis rotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625860#M19488</link>
      <description>&lt;P&gt;You can use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;VALUESROTATE=vertical&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;in the XAXIS Statement as explained in the blog post&amp;nbsp;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2016/12/19/axis-values-display/" target="_self"&gt;Axis values display&lt;/A&gt;&amp;nbsp;at the Graphically Speaking blog.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 14:58:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625860#M19488</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-02-19T14:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot xaxis rotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625865#M19489</link>
      <description>Hi DanH….I have included fitpolicy=rotate and valuesrotate=vertical but that's not working....are you suggesting to get rid of fitpolicy=rotate  and only keep valuesrotate=vertical?</description>
      <pubDate>Wed, 19 Feb 2020 15:09:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625865#M19489</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2020-02-19T15:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot xaxis rotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625866#M19490</link>
      <description>&lt;P&gt;You need to use ROTATEALWAYS instead of ROTATE for your fit policy to you want them to rotate when there is no collision.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 15:10:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625866#M19490</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2020-02-19T15:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot xaxis rotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625884#M19491</link>
      <description>&lt;P&gt;Hi DanH…..I changed the fitpolicy to RotateAlways and received a warning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;50         proc sgplot data=want21;
51          	series x=Term y=Retention /  lineattrs=(color=blue thickness=2);
52         	series x=Term y=Persistence  /  lineattrs=(color=red thickness=2);

53         	xaxis type=discrete fitpolicy=rotatealways valuesrotate=vertical;
                                          ____________
                                          1
WARNING 1-322: Assuming the symbol ROTATE was misspelled as rotatealways.
54         	xaxis label='Year-Term' valueattrs=(size=7pt) labelattrs=(size=12pt weight=bold) ;
55         	yaxis label='Percentage' values=(0.5 to 1 by .1) valueattrs=(size=10pt) labelattrs=(size=12pt weight=bold);
56         run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Feb 2020 16:20:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625884#M19491</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2020-02-19T16:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot xaxis rotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625886#M19492</link>
      <description>&lt;P&gt;Sorry, it's available in GTL but COMING in the SG procedures. In the meantime, you can use TMPLOUT on the SGPLOT statement to dump out a GTL template, change ROTATE to ROATATEALWAYS on the fit policy, and render the template using PROC SGRENDER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 16:27:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-xaxis-rotation/m-p/625886#M19492</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2020-02-19T16:27:32Z</dc:date>
    </item>
  </channel>
</rss>

