<?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 in SAS sgplot &amp; proc template in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/tickvalueformat-in-SAS-sgplot-proc-template/m-p/66385#M18964</link>
    <description>Hi:&lt;BR /&gt;
  You might want to post this question to the ODS GRAPHICS and SAS/GRAPH forum area. The people with the most experience with ODS GRAPHICS and style issues are in that forum.&lt;BR /&gt;
 &lt;BR /&gt;
  In general, however, BORDER=OFF is not a valid ODS LISTING option, as shown in this LOG&lt;BR /&gt;
[pre]&lt;BR /&gt;
1    ods listing style = statistical/ border=off;&lt;BR /&gt;
                                    -&lt;BR /&gt;
                                    22&lt;BR /&gt;
                                    76&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: ;, BODY, CLOSE, DATAPANEL, FILE,&lt;BR /&gt;
              GPATH, IMAGE_DPI, PACKAGE, SGE, STYLE.&lt;BR /&gt;
                          &lt;BR /&gt;
ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;
                               &lt;BR /&gt;
[/pre]&lt;BR /&gt;
                                          &lt;BR /&gt;
The style element that controls tick fonts are shown here: &lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/grstatug/62464/HTML/default/p18c2hn0ybnntyn1t6aitke3f0l6.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/grstatug/62464/HTML/default/p18c2hn0ybnntyn1t6aitke3f0l6.htm&lt;/A&gt;&lt;BR /&gt;
GraphValueText is the style element you would need to change. For example, this style template will change the tick marks to bold and cyan, using the LISTING destination as the basic "starter" template.&lt;BR /&gt;
 &lt;BR /&gt;
 cynthia&lt;BR /&gt;
           &lt;BR /&gt;
[pre]&lt;BR /&gt;
** change group colors with style template;&lt;BR /&gt;
ods path work.temp(update)&lt;BR /&gt;
         sasuser.templat(update)&lt;BR /&gt;
         sashelp.tmplmst(read);&lt;BR /&gt;
                                                &lt;BR /&gt;
proc template;&lt;BR /&gt;
  define style styles.mycyan;&lt;BR /&gt;
  parent = styles.listing; &lt;BR /&gt;
  class GraphValueText /                                                  &lt;BR /&gt;
        font = ("AlbanyAMT, Helvetica, Arial",9pt,bold)                                  &lt;BR /&gt;
        color = cyan;&lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
                                      &lt;BR /&gt;
ods listing style=mycyan;&lt;BR /&gt;
proc sgplot data=sashelp.heart;&lt;BR /&gt;
  vbar chol_status;&lt;BR /&gt;
  title 'Vbar: GraphValueText Changed';&lt;BR /&gt;
  xaxis discreteorder=data;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]</description>
    <pubDate>Wed, 10 Mar 2010 03:55:01 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-03-10T03:55:01Z</dc:date>
    <item>
      <title>tickvalueformat in SAS sgplot &amp; proc template</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/tickvalueformat-in-SAS-sgplot-proc-template/m-p/66384#M18963</link>
      <description>Hi All, &lt;BR /&gt;
As option of "tickvalueformat" in sgplot is only associated with SAS phase2, I cannot use that option in my sgplot. &lt;BR /&gt;
&lt;BR /&gt;
What I wanna do is only to change the ticks on x-axis to bold. &lt;BR /&gt;
&lt;BR /&gt;
As suggested, proc template can be used to change the style of the plot. However I am absolutely new to template language. &lt;BR /&gt;
&lt;BR /&gt;
And using some codes found online to define my own style will overwrite the original plot: say "ods listing style = statistical/ boder=off;" &lt;BR /&gt;
&lt;BR /&gt;
Could anyone here please give me some suggestion on this? &lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance. &lt;BR /&gt;
Fred</description>
      <pubDate>Wed, 10 Mar 2010 03:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/tickvalueformat-in-SAS-sgplot-proc-template/m-p/66384#M18963</guid>
      <dc:creator>Fred_Gavin</dc:creator>
      <dc:date>2010-03-10T03:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: tickvalueformat in SAS sgplot &amp; proc template</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/tickvalueformat-in-SAS-sgplot-proc-template/m-p/66385#M18964</link>
      <description>Hi:&lt;BR /&gt;
  You might want to post this question to the ODS GRAPHICS and SAS/GRAPH forum area. The people with the most experience with ODS GRAPHICS and style issues are in that forum.&lt;BR /&gt;
 &lt;BR /&gt;
  In general, however, BORDER=OFF is not a valid ODS LISTING option, as shown in this LOG&lt;BR /&gt;
[pre]&lt;BR /&gt;
1    ods listing style = statistical/ border=off;&lt;BR /&gt;
                                    -&lt;BR /&gt;
                                    22&lt;BR /&gt;
                                    76&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: ;, BODY, CLOSE, DATAPANEL, FILE,&lt;BR /&gt;
              GPATH, IMAGE_DPI, PACKAGE, SGE, STYLE.&lt;BR /&gt;
                          &lt;BR /&gt;
ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;
                               &lt;BR /&gt;
[/pre]&lt;BR /&gt;
                                          &lt;BR /&gt;
The style element that controls tick fonts are shown here: &lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/grstatug/62464/HTML/default/p18c2hn0ybnntyn1t6aitke3f0l6.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/grstatug/62464/HTML/default/p18c2hn0ybnntyn1t6aitke3f0l6.htm&lt;/A&gt;&lt;BR /&gt;
GraphValueText is the style element you would need to change. For example, this style template will change the tick marks to bold and cyan, using the LISTING destination as the basic "starter" template.&lt;BR /&gt;
 &lt;BR /&gt;
 cynthia&lt;BR /&gt;
           &lt;BR /&gt;
[pre]&lt;BR /&gt;
** change group colors with style template;&lt;BR /&gt;
ods path work.temp(update)&lt;BR /&gt;
         sasuser.templat(update)&lt;BR /&gt;
         sashelp.tmplmst(read);&lt;BR /&gt;
                                                &lt;BR /&gt;
proc template;&lt;BR /&gt;
  define style styles.mycyan;&lt;BR /&gt;
  parent = styles.listing; &lt;BR /&gt;
  class GraphValueText /                                                  &lt;BR /&gt;
        font = ("AlbanyAMT, Helvetica, Arial",9pt,bold)                                  &lt;BR /&gt;
        color = cyan;&lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
                                      &lt;BR /&gt;
ods listing style=mycyan;&lt;BR /&gt;
proc sgplot data=sashelp.heart;&lt;BR /&gt;
  vbar chol_status;&lt;BR /&gt;
  title 'Vbar: GraphValueText Changed';&lt;BR /&gt;
  xaxis discreteorder=data;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 10 Mar 2010 03:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/tickvalueformat-in-SAS-sgplot-proc-template/m-p/66385#M18964</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-03-10T03:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: tickvalueformat in SAS sgplot &amp; proc template</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/tickvalueformat-in-SAS-sgplot-proc-template/m-p/66386#M18965</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your reply. &lt;BR /&gt;
&lt;BR /&gt;
My bad. it should be:&lt;BR /&gt;
ods graphics on/border=off;&lt;BR /&gt;
ods listing style = statistical;&lt;BR /&gt;
&lt;BR /&gt;
I will look at your suggestion.&lt;BR /&gt;
&lt;BR /&gt;
Thanks and regards&lt;BR /&gt;
&lt;BR /&gt;
Fred</description>
      <pubDate>Wed, 10 Mar 2010 04:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/tickvalueformat-in-SAS-sgplot-proc-template/m-p/66386#M18965</guid>
      <dc:creator>Fred_Gavin</dc:creator>
      <dc:date>2010-03-10T04:19:08Z</dc:date>
    </item>
  </channel>
</rss>

