<?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: Need help in SGPLOT title with ODS in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/718531#M27618</link>
    <description>&lt;P&gt;A note: since you only want to have the PDF output, I would switch off any automatic output generation for the program in Enterprise Guide, you can do this on the properties of the program. Yes GTITLE/GFOOTNOTE control whether title/footnotes are placed inside a graph or outside.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are ways to write into the space you market in the screenshot.&lt;/P&gt;
&lt;P&gt;For instance there is the COLUMN_SPAN= option for the ODS REGION statement that allows you to place some text over two columns.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Find below a code sample to get you started:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*
 * create some text data
 */
data loremipsum;
  length someText $ 2048;
  infile cards;
  input;
  if substr(_infile_,1, 3) = "EOD" then do;
    output;
  end;

  retain someText;
  someText = catx(" ", someText, _infile_);
cards;
suscipit tellus mauris a diam maecenas sed enim ut sem viverra aliquet eget sit amet tellus
cras adipiscing enim eu turpis egestas pretium aenean pharetra magna ac placerat vestibulum
lectus mauris ultrices eros in cursus turpis massa tincidunt dui ut ornare lectus sit amet est
placerat in egestas erat imperdiet sed euismod nisi porta lorem mollis aliquam ut porttitor leo
a diam sollicitudin tempor id eu nisl nunc mi ipsum faucibus vitae aliquet nec ullamcorper
EOD
;;;;

/*
 * macro to print some graphs
 */
%macro somePlots(n=4);
  
  %local i randomColor hlsPastelRandom;

  %do i = 1 %to &amp;amp;n;
  %let hlsPastelRandom = %hlsPastelRandom;
ods region style={background=&amp;amp;hlsPastelRandom};
  title "color=&amp;amp;hlsPastelRandom";

  Proc sgplot data=sashelp.cars noopaque;
    vbar type;
  run;

  title;
  %end;

/*ods layout end;*/
%mend;

/*
 * generate some random pastel color
 */
%COLORMAC
%macro hlsPastelRandom;
  %local h s l;
  %let h = %sysevalf(360 * %sysfunc(rand(uniform)), integer);
  %let s = %sysevalf(25 + (70 *%sysfunc(rand(uniform))), integer);
  %let l = %sysevalf(85 + (10 *%sysfunc(rand(uniform))), integer);
  %hls(&amp;amp;h, &amp;amp;l, &amp;amp;s)
%mend;

%put *%hlsPastelRandom*;

ods _all_ close;
options 
  orientation=landscape
  papersize="A4"

;
ods graphics / reset=all;
ods pdf file="c:\temp\someplots.pdf" nogtitle;
ods layout gridded columns=3 rows=2 row_heights=(9cm 9cm) column_widths=(9cm 9cm 9cm);
%somePlots(n=4)
options nocenter;
ods region column_span=2 style={background=%hlsPastelRandom};;

proc odstext data=loremipsum;
p "title for text box" / style=systemtitle;
p someText / style={width=18cm font_size=12pt};
run;

ods layout end;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 11 Feb 2021 11:06:32 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2021-02-11T11:06:32Z</dc:date>
    <item>
      <title>Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715598#M27376</link>
      <description>&lt;P&gt;Hello SAS Users,&lt;/P&gt;&lt;P&gt;I am creating a line graph of 14 days trend data. I compare day 1 and 14 and assign three categories,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Steady (grey color)= IF day 14 value is between 10% less and 10% more&lt;/LI&gt;&lt;LI&gt;Rising (red color) =&amp;nbsp; increased by more than 10%&lt;/LI&gt;&lt;LI&gt;Falling (green color) =when their averages have decreased by more than 10%&amp;nbsp; &amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I would like to show word "increase", decrease" or "steady" outside graph boarder (top left, outside), as well as arrow indicator as shows in the picture, attached.&amp;nbsp; Here is the data and codes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data have;&lt;BR /&gt;Input RepDate cnt_11FNC avg_11FNC;&lt;BR /&gt;FORMAT Repdate mmddyy10.;&lt;BR /&gt;Datalines;&lt;BR /&gt;01/16/2021 1 4.3&lt;BR /&gt;01/17/2021 1 3.9&lt;BR /&gt;01/18/2021 12 5.3&lt;BR /&gt;01/19/2021 16 6.0&lt;BR /&gt;01/20/2021 2 5.4&lt;BR /&gt;01/2021/2021 5 5.9&lt;BR /&gt;01/22/2021 6 6.1&lt;BR /&gt;01/23/2021 4 6.6&lt;BR /&gt;01/24/2021 5 7.1&lt;BR /&gt;01/25/2021 2 5.7&lt;BR /&gt;01/26/2021 1 3.6&lt;BR /&gt;01/27/2021 4 3.9&lt;BR /&gt;01/28/2021 4 3.7&lt;BR /&gt;01/29/2021 7 3.9&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options nodate nonumber center;&lt;BR /&gt;title HEIGHT=20pt FONT='Times New Roman' bold "Test indicator";&lt;/P&gt;&lt;P&gt;ODS PDF FILE = '/file path....dashboard.pdf';&lt;BR /&gt;ods layout Start width=11.5in height=8.5in columns=1 rows=1&lt;BR /&gt;column_gutter=0in row_gutter=0.in row_heights=(.5in .5in);&lt;BR /&gt;options topmargin=0.5in orientation=landscape ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ODS tagsets.sasreport13(ID=EGSR) gtitle;&lt;BR /&gt;ods region row=1 column=1 height=2 in width=2 in;&lt;BR /&gt;ods graphics / noborder;&lt;BR /&gt;title justify=left HEIGHT=12pt FONT='Times New Roman' bold "Far North Central";&lt;BR /&gt;title2 justify=left HEIGHT=12pt FONT='Times New Roman' bold "decrease" ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=revenue11 NOAUTOLEGEND;&lt;BR /&gt;vbar Report_Date_Received / response=cnt_11FNC nooutline dataskin=pressed fillattrs=( color=lightgrey);&lt;BR /&gt;vline Report_Date_Received / response=avg_11FNC lineattrs=(color=red thickness=4 PATTERN=SHORTDASH);&lt;BR /&gt;label league='League = Division E';&lt;BR /&gt;xaxis display=(nolabel) valueattrs=(size=6);&lt;BR /&gt;yaxis display=(nolabel) valueattrs=(size=7) values=(0 to 25 by 5) offsetmin=0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods layout end;&lt;BR /&gt;ods PDF close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sglpot ods.PNG" style="width: 577px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54182i02725BD756182F57/image-size/large?v=v2&amp;amp;px=999" role="button" title="sglpot ods.PNG" alt="sglpot ods.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Than you in advance.&lt;/P&gt;&lt;P&gt;Bijay, Canada&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 00:01:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715598#M27376</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-01-31T00:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715600#M27377</link>
      <description>&lt;P&gt;Where in your code do you calculate the "rising" "falling" or "steady" and the percentage?&lt;/P&gt;
&lt;P&gt;What methodology is to be used?&lt;/P&gt;
&lt;P&gt;Do those circles imply that you are just comparing the first and last displayed value?&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 01:12:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715600#M27377</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-31T01:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715623#M27379</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&amp;nbsp;ballardw,&lt;/P&gt;&lt;P&gt;Thanks for prompt response. You are correct that my percent change is substracting day 14th value from day 1 (fyi, my date value always comes from today's date-14, so I always have 14 days moving data. I wanted to provide %change calculation in sas data steps but could not calculate %change in the same column. One more point is that I have 13 variables from 3 regions to create 13 graphs but lets find solution for one or two, so I will apply same solution for others. Here is data showing in excel table showing calculation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Report_Date_Received&lt;/TD&gt;&lt;TD&gt;avg_11FNC&lt;/TD&gt;&lt;TD&gt;%change_avg_11FNC&lt;/TD&gt;&lt;TD&gt;avg_12FNW&lt;/TD&gt;&lt;TD&gt;%change_avg_12FNW&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;16Jan2021&lt;/TD&gt;&lt;TD&gt;4.3&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;23.6&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;17Jan2021&lt;/TD&gt;&lt;TD&gt;3.9&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;24.0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;18Jan2021&lt;/TD&gt;&lt;TD&gt;5.3&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;26.9&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;19Jan2021&lt;/TD&gt;&lt;TD&gt;6.0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;30.1&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20Jan2021&lt;/TD&gt;&lt;TD&gt;5.4&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;31.4&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21Jan2021&lt;/TD&gt;&lt;TD&gt;5.9&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;27.3&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22Jan2021&lt;/TD&gt;&lt;TD&gt;6.1&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;29.0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23Jan2021&lt;/TD&gt;&lt;TD&gt;6.6&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;29.9&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;24Jan2021&lt;/TD&gt;&lt;TD&gt;7.1&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;29.1&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;25Jan2021&lt;/TD&gt;&lt;TD&gt;5.7&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;26.4&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;26Jan2021&lt;/TD&gt;&lt;TD&gt;3.6&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;23.3&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;27Jan2021&lt;/TD&gt;&lt;TD&gt;3.9&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;25.0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;28Jan2021&lt;/TD&gt;&lt;TD&gt;3.7&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;25.9&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;29Jan2021&lt;/TD&gt;&lt;TD&gt;3.9&lt;/TD&gt;&lt;TD&gt;=(3.9-4.3)*100&lt;/TD&gt;&lt;TD&gt;25.0&lt;/TD&gt;&lt;TD&gt;=(25.0-23.6)*100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 12:03:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715623#M27379</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-01-31T12:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715624#M27380</link>
      <description>Here is my datasets&lt;BR /&gt;data have;&lt;BR /&gt;input RepDate cnt_11FNC cnt_12FNW avg_11FNC avg_12FNW;&lt;BR /&gt;cards;&lt;BR /&gt;17Jan2021 1 28 4.3 23.6&lt;BR /&gt;18Jan2021 1 26 3.9 24.0&lt;BR /&gt;19Jan2021 12 35 5.3 26.9&lt;BR /&gt;20Jan2021 16 40 6.0 30.1&lt;BR /&gt;21Jan2021 2 17 5.4 31.4&lt;BR /&gt;22Jan2021 5 19 5.9 27.3&lt;BR /&gt;23Jan2021 6 38 6.1 29.0&lt;BR /&gt;24Jan2021 4 34 6.6 29.9&lt;BR /&gt;25Jan2021 5 21 7.1 29.1&lt;BR /&gt;26Jan2021 2 16 5.7 26.4&lt;BR /&gt;27Jan2021 1 18 3.6 23.3&lt;BR /&gt;28Jan2021 4 29 3.9 25.0&lt;BR /&gt;29Jan2021 4 25 3.7 25.9&lt;BR /&gt;30Jan2021 7 13 3.9 22.3&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;/*need to calculate percent change for each variable subtracting value from day 14 to day 1 (e.g. [(3.9-4.3)*100] or [(25.0-23.6)*100].&lt;BR /&gt;&lt;BR /&gt;Here is SG plot procedure;&lt;BR /&gt;options nodate nonumber center;&lt;BR /&gt;title HEIGHT=20pt FONT='Times New Roman' bold "Saskatchewan COVID-19 Dashboard";&lt;BR /&gt;&lt;BR /&gt;ODS PDF FILE = '/SAS_data/research/CD_Epis/Bijay/dashboard/dashboard.pdf';&lt;BR /&gt;ods layout Start width=11.5in height=8.5in columns=5 rows=3&lt;BR /&gt;column_gutter=0in row_gutter=0.in row_heights=(.5in .5in);&lt;BR /&gt;options topmargin=0.5in orientation=landscape ;&lt;BR /&gt;&lt;BR /&gt;ODS tagsets.sasreport13(ID=EGSR) gtitle;&lt;BR /&gt;&lt;BR /&gt;ods region row=1 column=1 height=2 in width=2 in;&lt;BR /&gt;ods graphics / noborder;&lt;BR /&gt;title justify=left HEIGHT=12pt FONT='Times New Roman' bold "Far North Central";&lt;BR /&gt;title2 justify=left HEIGHT=12pt FONT='Times New Roman' bold ' ';&lt;BR /&gt;proc sgplot data=revenue11 NOAUTOLEGEND;&lt;BR /&gt;vbar RepDate / response=cnt_11FNC nooutline dataskin=pressed fillattrs=( color=lightgrey);&lt;BR /&gt;vline RepDate / response=avg_11FNC lineattrs=(color=red thickness=4 PATTERN=SHORTDASH);&lt;BR /&gt;label league='League = Division E';&lt;BR /&gt;xaxis display=(nolabel) valueattrs=(size=6);&lt;BR /&gt;yaxis display=(nolabel) valueattrs=(size=7) values=(0 to 25 by 5) offsetmin=0;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods region row=1 column=2 height=2 in width=2 in;&lt;BR /&gt;ods graphics / noborder;&lt;BR /&gt;title justify=left HEIGHT=12pt FONT='Times New Roman' bold "Far North West";&lt;BR /&gt;title2 justify=left HEIGHT=12pt FONT='Times New Roman' bold " " ;&lt;BR /&gt;&lt;BR /&gt;proc sgplot data=revenue11 NOAUTOLEGEND ;&lt;BR /&gt;&lt;BR /&gt;vbar RepDate / response=cnt_12FNW nooutline dataskin=pressed fillattrs=( color=lightgrey);&lt;BR /&gt;vline RepDate / response=avg_12FNW lineattrs=(color=red thickness=4 PATTERN=SHORTDASH);&lt;BR /&gt;label league='League = Division W';&lt;BR /&gt;&lt;BR /&gt;xaxis display=(nolabel) valueattrs=(size=6);&lt;BR /&gt;yaxis display=(nolabel) valueattrs=(size=7) values=(0 to 50 by 10) offsetmin=0;&lt;BR /&gt;run;&lt;BR /&gt;ods layout end;&lt;BR /&gt;ods PDF close;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 31 Jan 2021 12:36:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715624#M27380</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-01-31T12:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715765#M27392</link>
      <description>&lt;P&gt;Hi, I am waiting if someone knowledgeable could help me here. If further clarification if needed on my question please let&amp;nbsp; me know. I believe there must be a solution since SAS is such a powerful tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bijay&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 13:02:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715765#M27392</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-02-01T13:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715830#M27393</link>
      <description>&lt;P&gt;I strongly suggest that you add a variable that indicates which "league" a record represents and only have one plot variable instead of hiding the "league" information in the name of the plot variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then it will be possible to use a single SGplot, with a By statement, or possibly SGPanel to and that variable as a Panelby variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That will also make it easier to get the information such as the comparisons you request.&lt;/P&gt;
&lt;P&gt;An example with added fake data and a basic SGPanel plot using that data plus a data set showing how to get the additional change information. Adding text with conditional colors and unicode symbols is tricky though. &lt;/P&gt;
&lt;PRE&gt;Data have;
Input RepDate :mmddyy10. cnt_11FNC avg_11FNC league :$10.;
FORMAT Repdate mmddyy10.;
Datalines;
01/16/2021 1 4.3  South
01/17/2021 1 3.9  South
01/18/2021 12 5.3  South
01/19/2021 16 6.0  South
01/20/2021 2 5.4  South
01/21/2021 5 5.9  South
01/22/2021 6 6.1  South
01/23/2021 4 6.6  South
01/24/2021 5 7.1  South
01/25/2021 2 5.7  South
01/26/2021 1 3.6  South
01/27/2021 4 3.9  South
01/28/2021 4 3.7  South
01/29/2021 7 3.9  South
01/16/2021 1 5.3  North
01/17/2021 1 6.9  North
01/18/2021 12 6.3  North
01/19/2021 16 9.0  North
01/20/2021 2 7.4  North
01/21/2021 5 8.9  North
01/22/2021 6 6.1  North
01/23/2021 4 6.6  North
01/24/2021 5 7.1  North
01/25/2021 2 4.7  North
01/26/2021 1 5.6  North
01/27/2021 4 5.9  North
01/28/2021 4 5.7  North
01/29/2021 7 13.9  North
;
run;

proc sort data=have;
   by league repdate;
run;
/* this works when the data has been filtered
   to the appropriate date ranges
*/

proc sgpanel data=have NOAUTOLEGEND;
   panelby league /columns=3;
   vbar RepDate / response=cnt_11FNC
                 nooutline dataskin=pressed 
                 fillattrs=( color=lightgrey)
   ;
   vline RepDate / response=avg_11FNC 
                   lineattrs=(color=red thickness=4 PATTERN=SHORTDASH);
   label league='League = Division E';
   colaxis display=(nolabel) valueattrs=(size=6);
   rowaxis display=(nolabel) valueattrs=(size=7) values=(0 to 25 by 5) offsetmin=0;

run;

data change;
   set have;
   by league;
   retain firstval;
   if first.league then firstval= avg_11FNC;
   if last.league then do;
      Change = avg_11FNC - firstval;
      percentchange = change/firstval;
      output;
   end;
run;&lt;/PRE&gt;
&lt;P&gt;Or SGPlot with By:&lt;/P&gt;
&lt;PRE&gt;
proc sgplot data=have NOAUTOLEGEND;
   by league ;
   vbar RepDate / response=cnt_11FNC
                 nooutline dataskin=pressed 
                 fillattrs=( color=lightgrey)
   ;
   vline RepDate / response=avg_11FNC 
                   lineattrs=(color=red thickness=4 PATTERN=SHORTDASH);
   label league='League = Division E';
   xaxis display=(nolabel) valueattrs=(size=6);
   yaxis display=(nolabel) valueattrs=(size=7) values=(0 to 25 by 5) offsetmin=0;

run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 17:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715830#M27393</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-02-01T17:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715886#M27401</link>
      <description>&lt;P&gt;Thanks ballardw for offering your insights. I will post tonight complete dataset and steps, that probably will give more insights&amp;nbsp; to think about if symbols or colors are possible. I have small 13 graphs in one page using ODS as a concept of dashboard, though its not a fancy, but thinking if this is even possible.&lt;/P&gt;&lt;P&gt;Will post more soon!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 21:16:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/715886#M27401</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-02-01T21:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/716091#M27410</link>
      <description>&lt;P&gt;Two thoughts:&lt;/P&gt;
&lt;P&gt;1. The simplest solution is to have one data set and use a BY statement to create the multiple plots. Then you can use the BY values on the TITLE statement, like the following (for simplicity, all data is the same and I manually set the trend):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data have;
length Region $6; 
Input Region RepDate cnt_11FNC avg_11FNC;
informat RepDate ANYDTDTE10.;
FORMAT Repdate mmddyy10.;
Datalines;
South 01/16/2021 1 4.3
South 01/17/2021 1 3.9
South 01/18/2021 12 5.3
South 01/19/2021 16 6.0
South 01/20/2021 2 5.4
South 01/21/2021 5 5.9
South 01/22/2021 6 6.1
South 01/23/2021 4 6.6
South 01/24/2021 5 7.1
South 01/25/2021 2 5.7
South 01/26/2021 1 3.6
South 01/27/2021 4 3.9
South 01/28/2021 4 3.7
South 01/29/2021 7 3.9
West  01/16/2021 1 4.3
West  01/17/2021 1 3.9
West  01/18/2021 12 5.3
West  01/19/2021 16 6.0
West  01/20/2021 2 5.4
West  01/21/2021 5 5.9
West  01/22/2021 6 6.1
West  01/23/2021 4 6.6
West  01/24/2021 5 7.1
West  01/25/2021 2 5.7
West  01/26/2021 1 3.6
West  01/27/2021 4 3.9
West  01/28/2021 4 3.7
West  01/29/2021 7 3.9
North 01/16/2021 1 4.3
North 01/17/2021 1 3.9
North 01/18/2021 12 5.3
North 01/19/2021 16 6.0
North 01/20/2021 2 5.4
North 01/21/2021 5 5.9
North 01/22/2021 6 6.1
North 01/23/2021 4 6.6
North 01/24/2021 5 7.1
North 01/25/2021 2 5.7
North 01/26/2021 1 3.6
North 01/27/2021 4 3.9
North 01/28/2021 4 3.7
North 01/29/2021 7 3.9
;

proc sort data=Have;
by Region RepDate;
run;

/* Do analysis to find trend. */
data Trend;
length Region $6 Trend $10; 
input Region Trend;
datalines;
North Decreasing
South Increasing
West  Neutral
;

/* Merge results with original data */
data Want;
merge Have Trend;
by Region;
run;

/* layout the graphs. Use the #BYVALn values to build the titles */
ods graphics / width=300px height=250px;
ods layout gridded columns=3 advance=table;

options nobyline;
title "Counts by Region";
title2 "#byval1 Region Is #byval2";

proc sgplot data=Want noautolegend;
by Region Trend notsorted;
vbar RepDate / response=cnt_11FNC;
vline RepDate / response=avg_11FNC;
run;

options byline;
ods layout end;
title;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. For more complicated graphs where colors/symbols vary between groups, you might want to use PROC SGPANEL.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 15:02:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/716091#M27410</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-02-02T15:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/716881#M27465</link>
      <description>Thank you ballardw for your time and suggestion. I am taking some of your suggestion and thinking over possible solution. Probably text/color feature is limited in SGplot. However, I will soon explore about sgpanel too.</description>
      <pubDate>Thu, 04 Feb 2021 19:03:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/716881#M27465</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-02-04T19:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/716888#M27467</link>
      <description>&lt;P&gt;Hi Rick_SAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your time and suggestion. In particular I like your idea of using 'hastag byval' option outputting at least what I wanted (increase, decrease or neutral). I am sure&amp;nbsp; I can put other text e.g. -%5 or 7% etc with the similar concept.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only remaining part is inserting up or down arrow, which seems not feasible in sgplot.&lt;/P&gt;&lt;P&gt;I will be back after soon....&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 19:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/716888#M27467</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-02-04T19:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/716907#M27468</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;The only remaining part is inserting up or down arrow, which seems not feasible in sgplot.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;SAS has supported unicode symbols for a long time. And PROC SGPLOT has supported unicode for at least 10 years. Sometimes people don't have unicode fonts installed, but try the following examples. On my PC, I only get the side arrow in HTML, but in other ODS destination (for example, RTF) I can see all the symbols:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Have;
do x = 1 to 10;
   yUp = x;
   yDown = -1;
   ySide = 0;
   output;
end;
run;

ods escapechar='~';
ods RTF;

title "This is increasing ~{unicode '2197'x}";
proc sgplot data=Have;
   series x=x y=yUp;
run;
title "This is decreasing ~{unicode '2198'x}";
proc sgplot data=Have;
   series x=x y=yDown;
run;
title "This is neutral ~{unicode '2192'x}";
proc sgplot data=Have;
   series x=x y=ySide;
run;

ods RTF close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Unicode symbols are also supported as tick values, labels, and in legends. See&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2011/11/14/the-power-of-unicode/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2011/11/14/the-power-of-unicode/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;for an introduction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:13:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/716907#M27468</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-02-04T20:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717474#M27508</link>
      <description>&lt;P&gt;Hello Rick&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time and support. Very excited to be connected with the forum. Although I do not have high level skills but never quite to learn SAS. Your tips helped me to understand about&amp;nbsp;&lt;SPAN&gt;unencodes. I tried to apply in my situation but appears&amp;nbsp;either it is not supported totally in the way I am doing or I may not have data in right orientation. I work is to create a 13 graphs in a page using OSD pdf and I am mostly successful. See picture attached just example. However I am still trying to use unicodes for up and down arrows as per your tips. But in my cases only up arrow is coming ignoring increase or decreased&amp;nbsp;pattern. I am attaching sas dataset if you could find a moment to look on to this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Happy to provide more info if needed. In the sas dataset I have only given 3 regions out of 13 regions I have. Here is the sas codes,&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;Data main;&lt;BR /&gt;set zone;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Data newvar;&lt;BR /&gt;set main;&lt;BR /&gt;IF change&amp;gt;(10.0) then yUp=1;&lt;BR /&gt;else IF change&amp;lt;(-11.0) then yDown=-1;&lt;BR /&gt;else ySide=0.00;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods escapechar='~';&lt;BR /&gt;ods RTF;&lt;/P&gt;&lt;P&gt;options nobyline;&lt;BR /&gt;title justify=center HEIGHT=15pt FONT='Times New Roman' color=darkgray bold "#BYVAL1" ;&lt;BR /&gt;title2 justify=center HEIGHT=12pt FONT='Calibri' color=big bold "#BYVAL2" " " "~{unicode '2197'x}";&lt;/P&gt;&lt;P&gt;proc sgplot data=newvar NOAUTOLEGEND;&lt;BR /&gt;by Region trend notsorted;&lt;BR /&gt;where Region='Region12';&lt;/P&gt;&lt;P&gt;vbarparm category=RepDate response=Count / dataskin=none ;&lt;BR /&gt;series x=RepDate y=mov_aver ;&lt;BR /&gt;xaxis display=(nolabel) valueattrs=(size=6);&lt;BR /&gt;yaxis display=(nolabel) valueattrs=(size=7) values=(0 to 40 by 5) offsetmin=0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;options nobyline;&lt;BR /&gt;title justify=center HEIGHT=15pt FONT='Times New Roman' color=darkgray bold "#BYVAL1" ;&lt;BR /&gt;title2 justify=center HEIGHT=12pt FONT='Calibri' color=big bold "#BYVAL2" " " "~{unicode '2197'x}";&lt;/P&gt;&lt;P&gt;proc sgplot data=newvar NOAUTOLEGEND;&lt;BR /&gt;by Region trend notsorted;&lt;BR /&gt;where Region='Region20';&lt;/P&gt;&lt;P&gt;vbarparm category=RepDate response=Count / dataskin=none ;&lt;BR /&gt;series x=RepDate y=mov_aver ;&lt;BR /&gt;xaxis display=(nolabel) valueattrs=(size=6);&lt;BR /&gt;yaxis display=(nolabel) valueattrs=(size=7) values=(0 to 15 by 5) offsetmin=0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;options nobyline;&lt;BR /&gt;title justify=center HEIGHT=15pt FONT='Times New Roman' color=darkgray bold "#BYVAL1" ;&lt;BR /&gt;title2 justify=center HEIGHT=12pt FONT='Calibri' color=big bold "#BYVAL2" " " "~{unicode '2197'x}";&lt;/P&gt;&lt;P&gt;proc sgplot data=newvar NOAUTOLEGEND;&lt;BR /&gt;by Region trend notsorted;&lt;BR /&gt;where Region='Region21';&lt;/P&gt;&lt;P&gt;vbarparm category=RepDate response=Count / dataskin=none ;&lt;BR /&gt;series x=RepDate y=mov_aver ;&lt;BR /&gt;xaxis display=(nolabel) valueattrs=(size=6);&lt;BR /&gt;yaxis display=(nolabel) valueattrs=(size=7) values=(0 to 20 by 5) offsetmin=0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks - Bijay&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 01:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717474#M27508</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-02-08T01:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717554#M27520</link>
      <description>&lt;P&gt;I suggest to combine the already provided code samples with the programming pattern described here&amp;nbsp;&lt;A href="https://blogs.sas.com/content/sasdummy/2012/03/20/sas-program-by-processing/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2012/03/20/sas-program-by-processing/&lt;/A&gt;&amp;nbsp;by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this allows you to have individual control on how to display each region.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See below for an example, the code was run in SAS Enterprise Guide with HTML as the default output result.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data have;
  length Region $6;
  Input Region RepDate cnt_11FNC avg_11FNC;
  informat RepDate ANYDTDTE10.;
  FORMAT Repdate mmddyy10.;
  Datalines;
South 01/16/2021 1 4.3
South 01/17/2021 1 3.9
South 01/18/2021 12 5.3
South 01/19/2021 16 6.0
South 01/20/2021 2 5.4
South 01/21/2021 5 5.9
South 01/22/2021 6 6.1
South 01/23/2021 4 6.6
South 01/24/2021 5 7.1
South 01/25/2021 2 5.7
South 01/26/2021 1 3.6
South 01/27/2021 4 3.9
South 01/28/2021 4 3.7
South 01/29/2021 7 3.9
West  01/16/2021 1 4.3
West  01/17/2021 1 3.9
West  01/18/2021 12 5.3
West  01/19/2021 16 6.0
West  01/20/2021 2 5.4
West  01/21/2021 5 5.9
West  01/22/2021 6 6.1
West  01/23/2021 4 6.6
West  01/24/2021 5 7.1
West  01/25/2021 2 5.7
West  01/26/2021 1 3.6
West  01/27/2021 4 3.9
West  01/28/2021 4 3.7
West  01/29/2021 7 3.9
North 01/16/2021 1 4.3
North 01/17/2021 1 3.9
North 01/18/2021 12 5.3
North 01/19/2021 16 6.0
North 01/20/2021 2 5.4
North 01/21/2021 5 5.9
North 01/22/2021 6 6.1
North 01/23/2021 4 6.6
North 01/24/2021 5 7.1
North 01/25/2021 2 5.7
North 01/26/2021 1 3.6
North 01/27/2021 4 3.9
North 01/28/2021 4 3.7
North 01/29/2021 7 3.9
East 01/16/2021 1 4.3
East 01/17/2021 1 3.9
East 01/18/2021 12 5.3
East 01/19/2021 16 6.0
East 01/20/2021 2 5.4
East 01/21/2021 5 5.9
East 01/22/2021 6 6.1
East 01/23/2021 4 6.6
East 01/24/2021 5 7.1
East 01/25/2021 2 5.7
East 01/26/2021 1 3.6
East 01/27/2021 4 3.9
East 01/28/2021 4 3.7
East 01/29/2021 7 3.9
;

proc sort data=Have;
  by Region RepDate;
run;

/* Do analysis to find trend. */
data Trend;
  length Region $6 Trend $ 10;
  input Region Trend;
  datalines;
East Decreasing
North Decreasing
South Increasing
West  Neutral
;

/* Merge results with original data */
data Want;
  merge Have Trend;
  by Region;
run;

ods escapechar="^";

%macro plots;
  %local i nObs region trend ;
  title "Counts by Region";
  ods graphics / width=300px height=250px;
  ods layout gridded columns=3;

  proc sql noprint;
    select distinct
      region
      , trend
    into
      :regionValue1 -
      , :trendValue1 -
    from
      want
    ;
    %let nObs = &amp;amp;sqlobs;
  quit;

  %do i = 1 %to &amp;amp;nObs;
    %let region = &amp;amp;&amp;amp;regionValue&amp;amp;i;
    %let trend = &amp;amp;&amp;amp;trendValue&amp;amp;i;
    %put NOTE: &amp;amp;sysmacroname processing &amp;amp;i of &amp;amp;nobs &amp;amp;=region &amp;amp;=trend;
    %let title2line =;

ods region;
  title1 "&amp;amp;region";

    /*title "Counts by Region";*/
    %if &amp;amp;trend = Decreasing %then
      %do;
        title2 c=red "&amp;amp;trend^{unicode 2198}";
      %end;

    %if &amp;amp;trend = Increasing %then
      %do;
        title2 c=blue "&amp;amp;trend^{unicode 2197}";
      %end;

    %if &amp;amp;trend = Neutral %then
      %do;
        title2 c=black "&amp;amp;trend^{unicode 2192}";
      %end;

  proc sgplot data=Want noautolegend;
    where region = "&amp;amp;region";
    vbar RepDate / response=cnt_11FNC;
    vline RepDate / response=avg_11FNC;
  run;

  %end;

ods layout end;
title;
%mend;

%plots&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 12:42:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717554#M27520</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2021-02-08T12:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717764#M27546</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;&amp;nbsp; I reviewed the documentation by Chris Hemednger whiich will be useful for BY option to produce my 13 regions.&lt;/P&gt;&lt;P&gt;I executed the code you have provided, it did run and produce 4 graphs, however it did not write ODS region title (i.e. Region name and trend). Is there an error in the syntax or I am missing something here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 23:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717764#M27546</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-02-08T23:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717806#M27549</link>
      <description>&lt;P&gt;This is the output in HTML I get:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bruno_SAS_0-1612860299449.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54486iD75E8C3DC7DDC286/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bruno_SAS_0-1612860299449.png" alt="Bruno_SAS_0-1612860299449.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What kind of output type are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 08:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717806#M27549</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2021-02-09T08:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717898#M27553</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;&amp;nbsp; I see you are getting different output than mine. This is kind of weird. There must be something preventing in my output not writing region tile 1 and tile 2. Please see screen capture of output and log file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 14:05:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717898#M27553</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-02-09T14:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717933#M27554</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;&amp;nbsp;Update: When I removed "gridded" ODS layout then the output is similar to yours except it removed header title "Counts by Region".&amp;nbsp;May be gridded option not available in my sas environment. Otherwise I am close to the solution.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 15:33:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717933#M27554</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-02-09T15:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717984#M27560</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;&amp;nbsp;Few thinks to nailed it down, what could be the region it is not working with 'gridded' layout in my condition? when I remove gridded then it will show region titl1 and 2 but when I aply ODS PDF option, it again removes&amp;nbsp;region titl1 and 2 . I want these graphs (13 regions) to output into a single page to accomplish my organization's goal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me known if you shed some lights here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 19:26:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/717984#M27560</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-02-09T19:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/718147#M27568</link>
      <description>&lt;P&gt;From the log one can see, that you are using the SAS Report ODS destination. This one does not support gridded layout.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I made some changes to the code:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;create sample data and provide a simple way to change the number of regions, numbers/trend are all random&lt;/LI&gt;
&lt;LI&gt;create PDF output&lt;/LI&gt;
&lt;LI&gt;paper size set to A3 to have more space, can be printed to A4&lt;/LI&gt;
&lt;LI&gt;changed paper orientation to landscape&lt;/LI&gt;
&lt;LI&gt;just one title line for each graph&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here is the code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data want;
  length Region trend $ 16;
  call streaminit(1234);
  do n = 1 to 13;
    region = cats("Region", put(n, z2.));
    trend = choosec(rand("integer",1, 3), "Increasing", "Decreasing", "Neutral");
    do repDate = 1 to 7;
      cnt_11fnc = rand("integer", 1, 16);
      avg_11fnc = rand("uniform") * 8;
      output;
    end;
  end;
  format
    repdate 2.
    cnt_11fnc 3.
    avg_11fnc 4.1
  ;
run;

%macro plots;
  %local i nObs region trend;

  proc sql noprint;
    select distinct
      region
      , trend
    into
      :regionValue1 -
      , :trendValue1 -
    from
      want
    ;
    %let nObs = &amp;amp;sqlobs;
  quit;

  %do i = 1 %to &amp;amp;nObs;
    %let region = &amp;amp;&amp;amp;regionValue&amp;amp;i;
    %let trend = &amp;amp;&amp;amp;trendValue&amp;amp;i;
    %put NOTE: &amp;amp;sysmacroname processing &amp;amp;i of &amp;amp;nobs &amp;amp;=region &amp;amp;=trend;
    
ods region;
/*  title1 "&amp;amp;region";*/

  %if &amp;amp;trend = Decreasing %then
    %do;
      title1 "&amp;amp;region" c=red "&amp;amp;trend^{unicode '2198'x}";
    %end;

  %if &amp;amp;trend = Increasing %then
    %do;
      title1 "&amp;amp;region" c=blue "&amp;amp;trend^{unicode '2197'x}";
    %end;

  %if &amp;amp;trend = Neutral %then
    %do;
      title1 "&amp;amp;region" c=black "&amp;amp;trend^{unicode '2192'x}";
    %end;

  proc sgplot data=Want noautolegend;
    where region = "&amp;amp;region";
    vbar RepDate / response=cnt_11FNC;
    vline RepDate / response=avg_11FNC;
  run;

  %end;

ods layout end;
title;
%mend;

ods _all_ close;
ods escapechar="^";
options orientation=landscape papersize="A3" ;
ods pdf file="c:\temp\report.pdf" nogtitle;

title "Counts by Region";
ods graphics / width=72mm height=65mm;
ods layout gridded columns=5 column_gutter=5mm;

%plots

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Feb 2021 08:18:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/718147#M27568</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2021-02-10T08:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in SGPLOT title with ODS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/718324#M27584</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;&amp;nbsp; your revised code did help in this process. There was one code I absolutely needed which I found in sas communities i.e.&amp;nbsp;ODS tagsets.sasreport13(ID=EGSR) gtitle; otherwise writing region title with unicode was not possible. I played around little bit and connected with my data. I think it is pretty good now. Thank you. Thank you to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;who showed me the concept of putting unicode character. Appreciated&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;for wiliness to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW, is there a way to write some text, note in the area circled red, see screenshot attached. My codes are here (I did not use "Data want.... steps as I got an error of "&lt;U&gt;NOTE: Argument 1 to function RAND at line 21 column 21 is invalid&lt;/U&gt;." for&amp;nbsp;&lt;STRONG&gt;trend = choosec(rand("integer",1, 3), "Increasing", "Decreasing", "Neutral");&lt;/STRONG&gt; SO I linked data directly with my other file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried writing ods text or proc odstext but text goes either in the second page, but I wanted to write note in the res circle area, if pssible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*options nodate nonumber center;*/&lt;/P&gt;&lt;P&gt;ODS PDF CLOSE;&lt;BR /&gt;%macro plots;&lt;BR /&gt;%local i nObs region trend;&lt;/P&gt;&lt;P&gt;proc sql noprint;&lt;BR /&gt;select distinct&lt;BR /&gt;region&lt;BR /&gt;, trend&lt;BR /&gt;into&lt;BR /&gt;:regionValue1 -&lt;BR /&gt;, :trendValue1 -&lt;BR /&gt;from&lt;BR /&gt;want&lt;BR /&gt;;&lt;BR /&gt;%let nObs = &amp;amp;sqlobs;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;%do i = 1 %to &amp;amp;nObs;&lt;BR /&gt;%let region = &amp;amp;&amp;amp;regionValue&amp;amp;i;&lt;BR /&gt;%let trend = &amp;amp;&amp;amp;trendValue&amp;amp;i;&lt;BR /&gt;%put NOTE: &amp;amp;sysmacroname processing &amp;amp;i of &amp;amp;nobs &amp;amp;=region &amp;amp;=trend;&lt;BR /&gt;&lt;BR /&gt;ods region;&lt;BR /&gt;/* title1 "&amp;amp;region";*/&lt;/P&gt;&lt;P&gt;%if &amp;amp;trend = Decreasing %then&lt;BR /&gt;%do;&lt;BR /&gt;title1 justify=left HEIGHT=14pt FONT='Arial' color=dabgr bold "&amp;amp;region - " c=red "&amp;amp;trend^{unicode '2198'x}";&lt;BR /&gt;%end;&lt;/P&gt;&lt;P&gt;%if &amp;amp;trend = Increasing %then&lt;BR /&gt;%do;&lt;BR /&gt;title1 justify=left HEIGHT=14pt FONT='Arial' color=dabgr bold "&amp;amp;region - " c=blue "&amp;amp;trend^{unicode '2197'x}";&lt;BR /&gt;%end;&lt;/P&gt;&lt;P&gt;%if &amp;amp;trend = Neutral %then&lt;BR /&gt;%do;&lt;BR /&gt;title1 justify=left HEIGHT=14pt FONT='Arial' color=dabgr bold "&amp;amp;region - " c=black "&amp;amp;trend^{unicode '2192'x}";&lt;BR /&gt;%end;&lt;/P&gt;&lt;P&gt;proc sgplot data=Want noautolegend;&lt;BR /&gt;where region = "&amp;amp;region";&lt;BR /&gt;vbar RepDate / response=cnt_11FNC nooutline dataskin=none fillattrs=( color=lightgrey);&lt;BR /&gt;vline RepDate / response=avg_11FNC lineattrs=(color=red thickness=2 PATTERN=SHORTDASH);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;%end;&lt;BR /&gt;ods layout end;&lt;BR /&gt;%mend;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;BR /&gt;ods escapechar="^";&lt;BR /&gt;options orientation=landscape papersize="A3" nodate;&lt;BR /&gt;ods pdf file="/SAS_data/research/CD_Epis/Bijay/COVID19/dailyreport/archive/dashboard7.pdf" ;&lt;/P&gt;&lt;P&gt;title justify=center HEIGHT=22pt FONT='Times New Roman' color=big bold "Dashboard for the Past 14 days Trend";&lt;BR /&gt;title2 justify=center HEIGHT=12pt FONT='Arial' color=dabgr bold "Daily new cases over the past 14 days: &amp;amp;sysdate9" ;&lt;BR /&gt;ods graphics /noborder width=72mm height=65mm;&lt;BR /&gt;ods layout gridded columns=5 column_gutter=5mm row_gutter=50;&lt;/P&gt;&lt;P&gt;options leftmargin=.01in rightmargin=.01in topmargin=1in bottommargin=.01in;&lt;/P&gt;&lt;P&gt;ODS tagsets.sasreport13(ID=EGSR) gtitle;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%plots&lt;BR /&gt;title;&lt;BR /&gt;ods pdf close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;included all except&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 17:32:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Need-help-in-SGPLOT-title-with-ODS/m-p/718324#M27584</guid>
      <dc:creator>bijayadhikar</dc:creator>
      <dc:date>2021-02-10T17:32:01Z</dc:date>
    </item>
  </channel>
</rss>

