<?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 SGRENDER in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGRENDER/m-p/232559#M14596</link>
    <description>&lt;P&gt;Can you please help me change all the fonts in the SGRENDER output to georgia?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
	infile datalines dlm='|';
	input year :8. var :$3. val :8.;
datalines;
2014|RUC|17
2015|RUC|19
2016|RUC|22
2017|RUC|25
2018|RUC|26
2019|RUC|29
;run;

ods path (prepend) work.template(update);
proc template;
	define style graphfonts;
	parent=styles.default;
		style graphfonts from graphfonts /
			'graphdatafont'=('georgia',8pt)
			'graphlabelfont'=('georgia',8pt)
			'graphfootnotefont'=('georgia',8pt)
		;
	end;
	define statgraph econ_data_plots;
		begingraph / designwidth=650 designheight=350;
			dynamic val time graphtitle;
			entrytitle graphtitle /*halign=left*/ /*textattrs=(family="georgia")*/;
				layout lattice / rows=1 columns=1 rowgutter=10 columngutter=10;
					layout overlay;
						seriesplot x=time y=val / lineattrs=(pattern=dash color=blue);
					endlayout;	
				entryfootnote halign=left "Solid 2015Q3, Dash 2015Q2";
				endlayout;
		endgraph;
	end;
run;

proc sgrender data=test template=econ_data_plots;
	dynamic graphtitle='Scenario' val='val'	time='year' ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 31 Oct 2015 11:07:49 GMT</pubDate>
    <dc:creator>kybowma</dc:creator>
    <dc:date>2015-10-31T11:07:49Z</dc:date>
    <item>
      <title>SGRENDER</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGRENDER/m-p/232559#M14596</link>
      <description>&lt;P&gt;Can you please help me change all the fonts in the SGRENDER output to georgia?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
	infile datalines dlm='|';
	input year :8. var :$3. val :8.;
datalines;
2014|RUC|17
2015|RUC|19
2016|RUC|22
2017|RUC|25
2018|RUC|26
2019|RUC|29
;run;

ods path (prepend) work.template(update);
proc template;
	define style graphfonts;
	parent=styles.default;
		style graphfonts from graphfonts /
			'graphdatafont'=('georgia',8pt)
			'graphlabelfont'=('georgia',8pt)
			'graphfootnotefont'=('georgia',8pt)
		;
	end;
	define statgraph econ_data_plots;
		begingraph / designwidth=650 designheight=350;
			dynamic val time graphtitle;
			entrytitle graphtitle /*halign=left*/ /*textattrs=(family="georgia")*/;
				layout lattice / rows=1 columns=1 rowgutter=10 columngutter=10;
					layout overlay;
						seriesplot x=time y=val / lineattrs=(pattern=dash color=blue);
					endlayout;	
				entryfootnote halign=left "Solid 2015Q3, Dash 2015Q2";
				endlayout;
		endgraph;
	end;
run;

proc sgrender data=test template=econ_data_plots;
	dynamic graphtitle='Scenario' val='val'	time='year' ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 31 Oct 2015 11:07:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGRENDER/m-p/232559#M14596</guid>
      <dc:creator>kybowma</dc:creator>
      <dc:date>2015-10-31T11:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: SGRENDER</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGRENDER/m-p/233089#M14622</link>
      <description>&lt;P&gt;In order for the new style to be used, it has to be specified when opening a ODS destination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So your code should look similar to the one below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html file="c:\temp\sample.html"
style=graphfonts
;

proc sgrender data=test template=econ_data_plots;
	dynamic graphtitle='Scenario' val='val'	time='year' ;
run;

ods html close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 15:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGRENDER/m-p/233089#M14622</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2015-11-04T15:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: SGRENDER</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGRENDER/m-p/233092#M14623</link>
      <description>&lt;P&gt;With some slight adjustments to take care of the other graph font definitions...&amp;nbsp; This worked like a champ, thanks Bruno&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods path (prepend) work.template(update);
proc template;
	define style graphfonts;
	parent=styles.default;
		style graphfonts from graphfonts /
			'graphdatafont'=('georgia',8pt)
			'graphlabelfont'=('georgia',8pt)
			'graphfootnotefont'=('georgia',8pt)
			'graphvaluefont'=('georgia',8pt)
			'graphtitlefont'=('georgia',8pt)
		;
	end;
	define statgraph econ_data_plots;
		begingraph / designwidth=650 designheight=350;
			dynamic val time graphtitle;
			entrytitle graphtitle;
				layout lattice / rows=1 columns=1 rowgutter=10 columngutter=10;
					layout overlay;
						seriesplot x=time y=val / lineattrs=(pattern=dash color=blue);
					endlayout;	
				entryfootnote halign=left "Solid 2015Q3, Dash 2015Q2";
				endlayout;
		endgraph;
	end;
run;

ods html style=graphfonts;
proc sgrender data=test template=econ_data_plots;
	dynamic graphtitle='Scenario' val='val'	time='year' ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Nov 2015 15:13:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGRENDER/m-p/233092#M14623</guid>
      <dc:creator>kybowma</dc:creator>
      <dc:date>2015-11-04T15:13:37Z</dc:date>
    </item>
  </channel>
</rss>

