<?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 Sorting horizontal axis: GCHART in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sorting-horizontal-axis-GCHART/m-p/760403#M240452</link>
    <description>&lt;P&gt;I have the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;/* Vertical Bar Chart */&lt;/STRONG&gt;&lt;BR /&gt;Axis order=("NH White" "NH other" "Hispanic" "NH Black");&lt;BR /&gt;Proc GCHART data=WORK.RACEFLU3;&lt;BR /&gt;Vbar race / sumvar=rowpercent raxis=axis;&lt;BR /&gt;Run;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It displays the % of people vaccinated (numeric) by race/ethnicity (character). I'm trying to get those race/ethnicity categories to appear sorted by descending % on the horizontal axis (so: "NH White" "NH other" "Hispanic" "NH Black").&lt;/P&gt;
&lt;P&gt;But whatever I'm doing above doesn't work and the suggestions I've found so far online don't really help, either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Aug 2021 16:00:15 GMT</pubDate>
    <dc:creator>SAS93</dc:creator>
    <dc:date>2021-08-09T16:00:15Z</dc:date>
    <item>
      <title>Sorting horizontal axis: GCHART</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sorting-horizontal-axis-GCHART/m-p/760403#M240452</link>
      <description>&lt;P&gt;I have the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;/* Vertical Bar Chart */&lt;/STRONG&gt;&lt;BR /&gt;Axis order=("NH White" "NH other" "Hispanic" "NH Black");&lt;BR /&gt;Proc GCHART data=WORK.RACEFLU3;&lt;BR /&gt;Vbar race / sumvar=rowpercent raxis=axis;&lt;BR /&gt;Run;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It displays the % of people vaccinated (numeric) by race/ethnicity (character). I'm trying to get those race/ethnicity categories to appear sorted by descending % on the horizontal axis (so: "NH White" "NH other" "Hispanic" "NH Black").&lt;/P&gt;
&lt;P&gt;But whatever I'm doing above doesn't work and the suggestions I've found so far online don't really help, either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 16:00:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sorting-horizontal-axis-GCHART/m-p/760403#M240452</guid>
      <dc:creator>SAS93</dc:creator>
      <dc:date>2021-08-09T16:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting horizontal axis: GCHART</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sorting-horizontal-axis-GCHART/m-p/760405#M240453</link>
      <description>&lt;P&gt;1. Sort your data before graphing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Try SGPLOT + HBAR/VBAR which allows you a little more control than SAS/GRAPH.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need help with code, please post sample data or provide code that uses one of the datasets in the SASHELP library, such as CLASS, CARS or HEART.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 16:05:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sorting-horizontal-axis-GCHART/m-p/760405#M240453</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-08-09T16:05:44Z</dc:date>
    </item>
  </channel>
</rss>

