<?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: xaxistable title in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427710#M14729</link>
    <description>&lt;P&gt;I am thinking one way to do this (without annotation) would be to add another class level, with the title you want, and provide missing values.&amp;nbsp; If you want the bold text, you could possibly use the&amp;nbsp;TEXTGROUP.&amp;nbsp; This will line up this "title" right aligned with the other group values.&amp;nbsp; I have not tried it yet myself...&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jan 2018 14:46:51 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2018-01-15T14:46:51Z</dc:date>
    <item>
      <title>xaxistable title</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427643#M14722</link>
      <description>&lt;P&gt;I'm using SGPLOT to create a KM plot and the xaxistable statement to add a number a risk table under the graph. When I give the xaxistable a title it is positioned above the second column&amp;nbsp;in the table, not above the first column containing the row names.&amp;nbsp;How can I get the title to appear above the first column?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;xaxistable atrisk1 / x=risk_time1 location=outside position=bottom class=e04brand 
						title="N at Risk" 
						titleattrs=GraphUnicodeText nomissingclass;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jan 2018 10:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427643#M14722</guid>
      <dc:creator>DGrint</dc:creator>
      <dc:date>2018-01-15T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: xaxistable title</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427644#M14723</link>
      <description>&lt;P&gt;I have nothing to test this on, but I am guessing something in:&lt;/P&gt;
&lt;P&gt;GraphUnicodeText&lt;/P&gt;
&lt;P&gt;Is telling the title to center justify the title.&amp;nbsp; Check in the style you are using or put the style elements in yourself with:&lt;/P&gt;
&lt;P&gt;titleattrs=(just=l)&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 10:51:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427644#M14723</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-01-15T10:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: xaxistable title</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427650#M14725</link>
      <description>&lt;P&gt;Perhaps I wasn't clear, the title is left aligned but it is above the data values rather than above the data labels. How can I position it above the data labels?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17843i80DBDD1EF16ED676/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.png" alt="test.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 11:30:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427650#M14725</guid>
      <dc:creator>DGrint</dc:creator>
      <dc:date>2018-01-15T11:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: xaxistable title</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427655#M14726</link>
      <description>&lt;P&gt;You have to use SG Annotation (or a draw statement).&amp;nbsp; I have examples at work.&amp;nbsp; I can dig them out later this morning.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427655#M14726</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2018-01-15T12:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: xaxistable title</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427710#M14729</link>
      <description>&lt;P&gt;I am thinking one way to do this (without annotation) would be to add another class level, with the title you want, and provide missing values.&amp;nbsp; If you want the bold text, you could possibly use the&amp;nbsp;TEXTGROUP.&amp;nbsp; This will line up this "title" right aligned with the other group values.&amp;nbsp; I have not tried it yet myself...&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 14:46:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427710#M14729</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-01-15T14:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: xaxistable title</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427713#M14730</link>
      <description>&lt;P&gt;Here is an example of using PROC LIFETEST using techniques fromhttp://support.sas.com/documentation/onlinedoc/stat/142/kaplan.pdf .&amp;nbsp; I also show an SG annotation example, but outside the context of a KM plot.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   %let url = //support.sas.com/documentation/onlinedoc/stat;
   infile "http:&amp;amp;url/ex_code/143/templft.html" device=url;
   file 'macros.tmp';
   input;
   _infile_ = tranwrd(_infile_, '&amp;amp;amp;', '&amp;amp;');
   _infile_ = tranwrd(_infile_, '&amp;amp;lt;' , '&amp;lt;');
   if index(_infile_, '&amp;lt;/pre&amp;gt;') then pre = 0;
   if pre then put _infile_;
   if index(_infile_, '&amp;lt;pre&amp;gt;')   then pre + 1;
run;

%inc 'macros.tmp' / nosource;

%ProvideSurvivalMacros

%macro StmtsBeginGraph; 
  * Coordinates are ad hoc, and there are many 
     available coordinate systems.
     See the documentation for more information.;
  drawtext textattrs=(weight=Bold) 'CD4&amp;lt;100 cells/(*ESC*){unicode mu}L' / 
                  x=8 y=14 width=20;
%mend;

%CompileSurvivalTemplates

ods html body='b.html';
ods graphics on;
proc lifetest data=sashelp.BMT 
                      plots=survival(atrisk outside maxlen=13);
   time T * Status(0);
   strata Group;
run;

data anno;
   label = 'CD4&amp;lt;100 cells/(*ESC*){unicode mu}L';
   function = 'text';
   drawspace = 'GraphPercent';
   x1 = 15;
   y1 = 5;
   width = 25;
run;

proc sgplot data=sashelp.class sganno=anno;
   scatter y=weight x=height;
run;

ods html close;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jan 2018 14:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/xaxistable-title/m-p/427713#M14730</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2018-01-15T14:51:59Z</dc:date>
    </item>
  </channel>
</rss>

