<?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: Sgplot title printed as static when #byline/$byval is used in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sgplot-title-printed-as-static-when-byline-byval-is-used/m-p/785444#M250662</link>
    <description>&lt;P&gt;Add 'options nobyline;' to get rid of the default by-lines. Here's an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class;
by sex;
run;

options nobyline;
title 'byval = #byval1';
proc sgplot data=class;
by sex;
scatter y=height x=weight;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 10 Dec 2021 17:40:40 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2021-12-10T17:40:40Z</dc:date>
    <item>
      <title>Sgplot title printed as static when #byline/$byval is used</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sgplot-title-printed-as-static-when-byline-byval-is-used/m-p/785374#M250639</link>
      <description>&lt;P&gt;I have this visualization where I am trying to print the plot based on 'by' variables.&lt;/P&gt;&lt;P&gt;In order to specify which chart has which data, I am using #byline/#byval values to print them on top of chart using title statement.&lt;BR /&gt;&lt;BR /&gt;Issue is that a static 'title' statement is being printed on the pages and I am not able to pin point where it is coming from&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;options nobyline leftmargin=.5in rightmargin=0.5in orientation=portrait nocenter;

ODS PDF FILE = "&amp;amp;outfiles./PDF/Transaction_Bucket.pdf" gtitle dpi=300; 

ods graphics on / width=7in height=4.5in scale=on outputfmt=png;

options nobyline;
ods layout gridded columns=1 advance=table;

title height=10pt color=dabgr 'Source = #byval2 and Transaction Bucket = #byval1';
PROC sgplot DATA = _01_E_TXN_CLM_;
by BKT_TXN CLM_SOURCE;

vbar weekof/ response=AMT y2axis datalabelattrs=(size=8 family="Arial") datalabel=AMTK fillattrs=(color=aquamarine);
vline weekof/ response=TXN_CLM lineattrs=(color=red thickness=2) markerattrs=(symbol=CircleFilled color=red size=5) datalabel=TXN_CLM datalabelattrs=(size=8 family="Arial" color=red);
xaxis label= "Weeks" labelattrs=(size=8 family="Arial") valueattrs=(size=8 family="Arial");
yaxis label= "TXN / CLM" labelattrs=(size=8 family="Arial") valueattrs=(size=8 family="Arial") GRID VALUES = (0 TO 2.5 BY 0.2); 
y2axis label= "Total Claim Amount" labelattrs=(size=8 family="Arial") valueattrs=(size=8 family="Arial");
keylegend /  valueattrs=(size=8 family="Arial") location=outside position=BOTTOMRIGHT ;
RUN; 
ods layout end; 
ODS PDF CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please see the pdf to check for highlighted issue&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 12:15:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sgplot-title-printed-as-static-when-byline-byval-is-used/m-p/785374#M250639</guid>
      <dc:creator>captainprice0</dc:creator>
      <dc:date>2021-12-10T12:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sgplot title printed as static when #byline/$byval is used</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sgplot-title-printed-as-static-when-byline-byval-is-used/m-p/785388#M250646</link>
      <description>Could try :&lt;BR /&gt;ODS PDF FILE = "&amp;amp;outfiles./PDF/Transaction_Bucket.pdf"   NOGTITLE    dpi=300;</description>
      <pubDate>Fri, 10 Dec 2021 13:27:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sgplot-title-printed-as-static-when-byline-byval-is-used/m-p/785388#M250646</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-12-10T13:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sgplot title printed as static when #byline/$byval is used</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sgplot-title-printed-as-static-when-byline-byval-is-used/m-p/785403#M250647</link>
      <description>&lt;P&gt;This did not work,&lt;BR /&gt;&lt;BR /&gt;instead of title now everywhere I am getting&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Source = #byval2 and Transaction Bucket = #byval1"&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 14:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sgplot-title-printed-as-static-when-byline-byval-is-used/m-p/785403#M250647</guid>
      <dc:creator>captainprice0</dc:creator>
      <dc:date>2021-12-10T14:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sgplot title printed as static when #byline/$byval is used</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sgplot-title-printed-as-static-when-byline-byval-is-used/m-p/785444#M250662</link>
      <description>&lt;P&gt;Add 'options nobyline;' to get rid of the default by-lines. Here's an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class;
by sex;
run;

options nobyline;
title 'byval = #byval1';
proc sgplot data=class;
by sex;
scatter y=height x=weight;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Dec 2021 17:40:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sgplot-title-printed-as-static-when-byline-byval-is-used/m-p/785444#M250662</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2021-12-10T17:40:40Z</dc:date>
    </item>
  </channel>
</rss>

