<?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: Gchart - Can I use &amp;quot;order=&amp;quot; on axis statement with a GROUP variable? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Can-I-use-quot-order-quot-on-axis-statement-with-a-GROUP/m-p/95598#M3576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OMG!&amp;nbsp; I just solved my own problem!&amp;nbsp; I had the axis2 and axis3 pointed incorrectly to the maxis and gaxis! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem resolved! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 15:35:21 GMT</pubDate>
    <dc:creator>LindaH1120</dc:creator>
    <dc:date>2012-04-26T15:35:21Z</dc:date>
    <item>
      <title>Gchart - Can I use "order=" on axis statement with a GROUP variable?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Can-I-use-quot-order-quot-on-axis-statement-with-a-GROUP/m-p/95597#M3575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HELP!&amp;nbsp; :smileyconfused: &lt;/P&gt;&lt;P&gt;I have a proc gchart where I would LOVE to use the order=("value1" "value2") with my GROUP variable.&amp;nbsp; So far, I can switch the midpoints order, but I really need to order the GROUP variable.&amp;nbsp; I get error messages below with my failed code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that "Order value specified in the AXIS statement does not match a midpoint value".&amp;nbsp; But I don't want to order the midpoints variable!&amp;nbsp; I am able to order the midpoints with the variable &amp;amp;primary_var1 when I omit the order=("") in the axis statement.&amp;nbsp; But again, that does not switch up the order of the GROUP var.&amp;nbsp; Of course, I can code a dummy variable and then use it in a proc sort, but I was hoping not to do that.&amp;nbsp;&amp;nbsp; Any ideas? &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;12873 axis1 label=none value=(font="arial" c=black angle=0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12873! minor=none split='*' INTERVAL=EVEN order=(0 to 100 by 20)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12873! ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12874 axis2 label=none value=(font="arial" c=black);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12875 axis3 label=none value=(height=3 angle=0) order=("Smith"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12875! "Jones" "Jackson" "Ford" "Anderson" "Cooper"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12876 "Long" "Torres" "Hughes" "All");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12877&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12878 title1 "Ratings";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12879 *footnote1 j=L "Attorney Work Product"; *footnote2 j=L&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12879! "Privleged and Confidential";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12880&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12881 proc gchart data=gchart;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12882 format sortit subfmt.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12883 label concat="00"x pct_col="00"x; /* takes away the titles */&amp;nbsp; !!!&amp;nbsp; Is this a crazy way to eliminate labels? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12884 vbar &amp;amp;primary_var1 /&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12885 legend=legend1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12886 type=sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12887 sumvar=PCT_COL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12888 subgroup=sortit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12889 raxis=axis1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12890 gaxis=axis2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12891 maxis=axis3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12892 space=.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12893 width=2.25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12894 group=word&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12895 midpoints= "Male" "Female";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12896 run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: Order value specified in the AXIS statement does not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;match a midpoint value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: The bottom horizontal axis labeled word could not be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fit as specified. The axis values will overwrite.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: There was not enough room to use the specified width&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of 2.25 and space of 0.5 for the bars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: No bars were drawn. This could have been caused by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER= on the AXIS statement. You may wish to use the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MIDPOINTS= option on the VBAR statement or make sure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the values of the GROUP=word variable match the ORDER=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;values (if given) on axis statement 2.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;WARNING: The specified/default value of VSIZE of 3.5000 inches&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and VORIGIN of 0.0000 inches exceeds the maximum for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the PNG printer. VSIZE is changed to 2.4479 inches.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 15:28:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gchart-Can-I-use-quot-order-quot-on-axis-statement-with-a-GROUP/m-p/95597#M3575</guid>
      <dc:creator>LindaH1120</dc:creator>
      <dc:date>2012-04-26T15:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Gchart - Can I use "order=" on axis statement with a GROUP variable?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gchart-Can-I-use-quot-order-quot-on-axis-statement-with-a-GROUP/m-p/95598#M3576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OMG!&amp;nbsp; I just solved my own problem!&amp;nbsp; I had the axis2 and axis3 pointed incorrectly to the maxis and gaxis! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem resolved! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 15:35:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gchart-Can-I-use-quot-order-quot-on-axis-statement-with-a-GROUP/m-p/95598#M3576</guid>
      <dc:creator>LindaH1120</dc:creator>
      <dc:date>2012-04-26T15:35:21Z</dc:date>
    </item>
  </channel>
</rss>

