<?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: valuesformat= vs. variable format in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-valuesformat-vs-variable-format/m-p/942460#M24991</link>
    <description>&lt;P&gt;I've just created a ticket by the tech support.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 12:50:21 GMT</pubDate>
    <dc:creator>xxformat_com</dc:creator>
    <dc:date>2024-09-04T12:50:21Z</dc:date>
    <item>
      <title>proc sgplot: valuesformat= vs. variable format</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-valuesformat-vs-variable-format/m-p/942437#M24989</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was not anticipating any difference on the x-axis (when using valuesformat= or variable format) but there is one for the missing category.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any thought on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
    value $sex 'M'='Male'
               'F'='Female'
               ' '='Missing';
run;

data class;
    set sashelp.class;
    output;
    if _n_=1 then
       do;
           sex=' ';
           output;
       end;
run;

proc sgplot data=class;
    vbarbasic sex / response=height stat=mean missing;
    format sex $sex.;
run; 

proc sgplot data=class;
    vbarbasic sex / response=height stat=mean missing;
    xaxis valuesformat=$sex.;
run;    &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Sep 2024 07:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-valuesformat-vs-variable-format/m-p/942437#M24989</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2024-09-04T07:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot: valuesformat= vs. variable format</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-valuesformat-vs-variable-format/m-p/942441#M24990</link>
      <description>&lt;P&gt;It seems that option valuesformat= did not honor MISSING value of character variable. Try another way:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
    value $sex 'M'='Male'
               'F'='Female'
               other='Missing';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You could report this weird phnomenon to sas support.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 08:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-valuesformat-vs-variable-format/m-p/942441#M24990</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-09-04T08:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot: valuesformat= vs. variable format</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-valuesformat-vs-variable-format/m-p/942460#M24991</link>
      <description>&lt;P&gt;I've just created a ticket by the tech support.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 12:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-valuesformat-vs-variable-format/m-p/942460#M24991</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2024-09-04T12:50:21Z</dc:date>
    </item>
  </channel>
</rss>

