<?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: tickvalueformat is not working and cannot use format statement in PROC SGRENDER in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563813#M18245</link>
    <description>Apply a format to your variable, but as you've mentioned if you're grouping your data the data will get grouped as well. I'm not sure you can separate the two.</description>
    <pubDate>Wed, 05 Jun 2019 18:15:06 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-06-05T18:15:06Z</dc:date>
    <item>
      <title>tickvalueformat is not working and cannot use format statement in PROC SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563711#M18232</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While creating waterfall plot, I can get below output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PIC1.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29997i230FFAFA759E7D9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="PIC1.png" alt="PIC1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I tried to change the xaxis to show as dose group but failed. I tried to add a format for 1-29 and use format statement in PROC SGRENDER, but the output will automatically add the percentages within a dose group into one bar…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgrender data=all template=barchart;
format ord SUBJ.;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PIC2.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29999i22A52757D1CB6AE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="PIC2.png" alt="PIC2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i also tried to use tickvalueformat option in PROC TEMPLATE xaxisopts, but the values are not changed at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;xaxisopts=(offsetmin=0.05 offsetmax=0.05 &lt;BR /&gt;linearopts=(viewmin=0 viewmax=30 tickvaluesequence=(start=1 end=29 increment=1) &lt;BR /&gt;tickvalueformat=SUBJ.))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help on this!!!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 14:11:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563711#M18232</guid>
      <dc:creator>hjy50</dc:creator>
      <dc:date>2019-06-05T14:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: tickvalueformat is not working and cannot use format statement in PROC SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563726#M18234</link>
      <description>&lt;P&gt;1) example data&lt;/P&gt;
&lt;P&gt;2) entire template code , there is lots of interaction between bits of the template and single lines are not sufficient to diagnose&lt;/P&gt;
&lt;P&gt;3) attempted format code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 15:01:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563726#M18234</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-05T15:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: tickvalueformat is not working and cannot use format statement in PROC SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563735#M18236</link>
      <description>We don't know what your code looks like or what you're trying to get as output. Please include that information in your update as well.</description>
      <pubDate>Wed, 05 Jun 2019 15:42:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563735#M18236</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-05T15:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: tickvalueformat is not working and cannot use format statement in PROC SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563810#M18243</link>
      <description>thanks for reply!&lt;BR /&gt;Let me ask in another way, how can we add format for discrete axis?</description>
      <pubDate>Wed, 05 Jun 2019 18:11:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563810#M18243</guid>
      <dc:creator>hjy50</dc:creator>
      <dc:date>2019-06-05T18:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: tickvalueformat is not working and cannot use format statement in PROC SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563811#M18244</link>
      <description>&lt;P&gt;thanks for reply!&lt;BR /&gt;Let me ask in another way, how can we add format for discrete axis?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 18:12:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563811#M18244</guid>
      <dc:creator>hjy50</dc:creator>
      <dc:date>2019-06-05T18:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: tickvalueformat is not working and cannot use format statement in PROC SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563813#M18245</link>
      <description>Apply a format to your variable, but as you've mentioned if you're grouping your data the data will get grouped as well. I'm not sure you can separate the two.</description>
      <pubDate>Wed, 05 Jun 2019 18:15:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563813#M18245</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-05T18:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: tickvalueformat is not working and cannot use format statement in PROC SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563875#M18247</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/139067"&gt;@hjy50&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;thanks for reply!&lt;BR /&gt;Let me ask in another way, how can we add format for discrete axis?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Let me ask another way;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the AXIS contents can depend on the LAYOUT options, what does your template code look like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also it is not clear what the actual values of your axis variable may be as your graph may have already been applying a default format for the variable. So we cannot assume that the actual values of your VARIABLE are 1, 2, 3. That assumption may be why your xaxis options are not working. So the DATA used for graphing also bears on the result.&lt;/P&gt;
&lt;P&gt;Things work differently for BARCHART and BARCHARTPARM plots as well, or other plot statements that can be made to behave similar to barchart such as NEEDLEPLOT or VECTORPLT.&lt;/P&gt;
&lt;P&gt;And finally, the actual definition of the Format attempted to be used may become critical.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 20:14:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/tickvalueformat-is-not-working-and-cannot-use-format-statement/m-p/563875#M18247</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-05T20:14:57Z</dc:date>
    </item>
  </channel>
</rss>

