<?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: Ordering Gchart Columns in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212068#M7899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, ORDER can be used as well:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;data test;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;do g=1 to 3;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; do c=1 to 3;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r=ranuni(123) * 100;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;end;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;axis1 order=(2 3 1); &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc gchart data=test;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;vbar c / sumvar=r discrete group=g gaxis=axis1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 20:19:32 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2015-03-27T20:19:32Z</dc:date>
    <item>
      <title>Ordering Gchart Columns</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212066#M7897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt; I posted a thread that was similar to this before on ordering subgroups with gchart.&amp;nbsp; (&lt;A _jive_internal="true" href="https://communities.sas.com/thread/63666"&gt;https://communities.sas.com/thread/63666&lt;/A&gt;)&amp;nbsp; I am trying to do simple ordering of gchart columns using a non-alphabetical ordering.&amp;nbsp; With other chart types like sgpanel I can just use format commands and in values.&amp;nbsp; With gchart this does not seem to work.&amp;nbsp; Do I need to use the order command?&amp;nbsp; Is there an easier explanation of this than &lt;A href="http://support.sas.com/kb/41/603.html"&gt;&lt;SPAN style="font-size: 11pt; color: #0e66ba;"&gt;http://support.sas.com/kb/41/603.html&lt;/SPAN&gt;&lt;/A&gt;.&amp;nbsp; it’s really hard to follow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;The code I am playing with is.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 11pt;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 11pt;"&gt;sql&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt; testTable(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: arial, helvetica, sans-serif; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Units int,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name varchar(&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 11pt;"&gt;50&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: arial, helvetica, sans-serif; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp; );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: arial, helvetica, sans-serif; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;INSERT&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;INTO&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt; TestTable (Units, Name)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;VALUES&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt; (&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 11pt;"&gt;11&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: purple; background: white;"&gt;'a last'&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;INSERT&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;INTO&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt; TestTable (Units, Name)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;VALUES&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt; (&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 11pt;"&gt;23&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: purple; background: white;"&gt;'b first'&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;INSERT&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;INTO&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt; TestTable (Units, Name)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;VALUES&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt; (&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 11pt;"&gt;4&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: purple; background: white;"&gt;'c middle'&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 11pt;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: arial, helvetica, sans-serif; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: arial, helvetica, sans-serif; color: black; background: white;"&gt;%&lt;STRONG&gt;&lt;EM&gt;Stpbegin&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;title1&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;ls&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 11pt;"&gt;1.5&lt;/STRONG&gt; &lt;SPAN style="font-size: 11pt; color: purple; background: white;"&gt;"Test"&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;axis1&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;label&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;none&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;axis2&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;label&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;none&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;axis3&lt;/SPAN&gt; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;label&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;none&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 11pt;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 11pt;"&gt;gchart&lt;/STRONG&gt; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=testTable;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;vbar&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt; Name /&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;space&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 11pt;"&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;gspace&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 11pt;"&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;type&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;sum&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;outside&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;sum&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;sumvar&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=Units&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: arial, helvetica, sans-serif; color: blue; background: white;"&gt;&amp;nbsp; discrete&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;gaxis&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=axis1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;maxis&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=axis2 &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;raxis&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=axis3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 11pt; color: blue; background: white;"&gt;legend&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;=legend1;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 11pt;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;; &lt;/SPAN&gt;&lt;STRONG style="color: navy; background: white; font-size: 11pt;"&gt;Quit&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: arial, helvetica, sans-serif; color: black; background: white;"&gt;%&lt;STRONG&gt;&lt;EM&gt;Stpend&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: arial, helvetica, sans-serif; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: arial, helvetica, sans-serif; color: black; background: white;"&gt;The columns should display b first, c middle, a last&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 19:26:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212066#M7897</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-03-27T19:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering Gchart Columns</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212067#M7898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To create an arbitrary order for gchart, use a numeric "tag" columns and a format to turn the values back to the real group values. Here is a simple example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value gfmt 1="b"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2="a"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3="c"&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;do g=1 to 3;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do c=1 to 3;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r=ranuni(123) * 100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gchart data=test;&lt;/P&gt;&lt;P&gt;format g gfmt.;&lt;/P&gt;&lt;P&gt;vbar c / sumvar=r discrete group=g;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 19:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212067#M7898</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2015-03-27T19:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering Gchart Columns</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212068#M7899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, ORDER can be used as well:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;data test;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;do g=1 to 3;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; do c=1 to 3;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r=ranuni(123) * 100;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;end;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;axis1 order=(2 3 1); &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc gchart data=test;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;vbar c / sumvar=r discrete group=g gaxis=axis1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 20:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212068#M7899</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2015-03-27T20:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering Gchart Columns</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212069#M7900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;It looks like invalue does not work with gchart.&amp;nbsp; The order clause is more practical for me.&amp;nbsp; Dan, thanks for your reply to my post I was really having a hard time with the formatting.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 12:51:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212069#M7900</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-03-30T12:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering Gchart Columns</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212070#M7901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;When I try to assign the order clause to &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;order=(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;"Baccalaureate" "Master''s" "Doctoral - Research / Scholarship" "Doctoral - Professional Practice (First Professional)" "Undergraduate Post-Baccalaureate Certificate" "Graduate Post-Baccalaureate Certificate" "Graduate Post-Master''s Certificate" "Undergraduate Non-degree Seeking" "Graduate Non-degree Seeking");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;Every column with a ‘ – ( / ) displays a zero value.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Arial, sans-serif; font-size: 11pt; line-height: 1.5em; background-color: white;"&gt;Is there a work around for this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 14:49:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212070#M7901</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-03-30T14:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering Gchart Columns</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212071#M7902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;It looks like if SAS can’t find the column it displays the column with a zero not sure why these characters are causing SAS to be unable to find the column.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 14:58:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212071#M7902</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-03-30T14:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering Gchart Columns</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212072#M7903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;Some how &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;order=("Professional Practice (First professional)") &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;is considered to not the spelled the same as &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;Professional Practice (First professional)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;due to the ‘spelling miss match the column is left blank.&amp;nbsp; I've never run into an interpretation of ( ) before.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 16:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212072#M7903</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-03-30T16:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering Gchart Columns</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212073#M7904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;The order statement seems to be capped at a set number of characters per column.&amp;nbsp; &lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;I’m not sure that that the special characters were the issue.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;CREATE TABLE testTable(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Units int,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name varchar(50)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; INSERT INTO TestTable (Units, Name)&lt;/P&gt;&lt;P&gt;&amp;nbsp; VALUES (11, 'a last');&lt;/P&gt;&lt;P&gt;&amp;nbsp; INSERT INTO TestTable (Units, Name)&lt;/P&gt;&lt;P&gt;&amp;nbsp; VALUES (23, 'Professiona (First professional)');&lt;/P&gt;&lt;P&gt;&amp;nbsp; INSERT INTO TestTable (Units, Name)&lt;/P&gt;&lt;P&gt;&amp;nbsp; VALUES (4, 'c middle');&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%Stpbegin;&lt;/P&gt;&lt;P&gt;title1 ls=1.5 "Test";&lt;/P&gt;&lt;P&gt;axis2 order=("Professiona (First professional)" "c middle" "a last"); /*works*/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;axis2 order=("Professional (First professional)" "c middle" "a last"); /does not work too long*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc gchart data=testTable;&lt;/P&gt;&lt;P&gt;&amp;nbsp; vbar Name /&lt;/P&gt;&lt;P&gt;&amp;nbsp; gaxis=axis1 maxis=axis2 raxis=axis3&lt;/P&gt;&lt;P&gt;&amp;nbsp; legend=legend1;&lt;/P&gt;&lt;P&gt;run; Quit;&lt;/P&gt;&lt;P&gt;%Stpend;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 17:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212073#M7904</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-03-30T17:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering Gchart Columns</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212074#M7905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David, I tried this in SAS 9.2 and got the same result as you. However, I tried this in SAS 9.3 and it worked fine. There might have been an issue that was fixed or a limit removed. You might want to contact Technical Support to get more details on what changed. The tag column/format trick I posted earlier should still work for you if cannot work around this string situation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 17:48:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212074#M7905</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2015-03-30T17:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering Gchart Columns</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212075#M7906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background: white; color: black; font-family: 'Arial',sans-serif; font-size: 11pt;"&gt;Dan, after finding out about the character limitation I added numeric counter Ids to all of my columns to go with the first solution you mentioned.&amp;nbsp; I think the processing will be a little slower but the display should produce the desired output.&amp;nbsp; Thanks for your help on this&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 18:02:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-Gchart-Columns/m-p/212075#M7906</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-03-30T18:02:30Z</dc:date>
    </item>
  </channel>
</rss>

