<?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 gbarline and ods region in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/gbarline-and-ods-region/m-p/71687#M2533</link>
    <description>The output from proc print moves up or down based upon the value of y= in ODS region.&lt;BR /&gt;
However, the output from proc gbarline does not seem to be effected by ods region values.&lt;BR /&gt;
Any suggestions?&lt;BR /&gt;
Thank you.&lt;BR /&gt;
&lt;BR /&gt;
goptions reset=all;&lt;BR /&gt;
GOPTIONS DEVICE=activex;&lt;BR /&gt;
options nodate nonumber orientation=portrait; &lt;BR /&gt;
goptions rotate=landscape;&lt;BR /&gt;
ods pdf file="C:\Documents and Settings\SASCode\YTD_Injury\TDBU_YTD.pdf"&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
*&lt;BR /&gt;
*other procedures go here;&lt;BR /&gt;
*&lt;BR /&gt;
&lt;BR /&gt;
ODS PDF STARTPAGE=NOW;&lt;BR /&gt;
&lt;BR /&gt;
%macro gbarprint(div);&lt;BR /&gt;
goptions rotate=landscape;&lt;BR /&gt;
footnote;title;&lt;BR /&gt;
axis1 label=('Percentage') length=4 in;&lt;BR /&gt;
axis2 label=('Injury Count') ;&lt;BR /&gt;
axis3 length=4.5 in;&lt;BR /&gt;
symbol1 i=join c=black v=dot;&lt;BR /&gt;
symbol2 i=join c=green v=dot;&lt;BR /&gt;
legend1 label=('') value=('YTD %') frame;&lt;BR /&gt;
legend2 label=none across=1 position=(bottom center outside) repeat=1 cframe=white;&lt;BR /&gt;
pattern1 v=solid c=orange;&lt;BR /&gt;
pattern2 v=solid c=lightblue;&lt;BR /&gt;
title1 h=3 "&amp;amp;div.";&lt;BR /&gt;
ods layout start;&lt;BR /&gt;
ODS region x=0.5 in y=2 in height = 3.5 in width = 4 in;&lt;BR /&gt;
proc gbarline data=div_mo3;&lt;BR /&gt;
	title "&amp;amp;div.";&lt;BR /&gt;
	bar inj_mo/ sumvar=pernw legend=legend1&lt;BR /&gt;
		discrete raxis=axis1 maxis=axis3 midpoints="Jan" "Feb";&lt;BR /&gt;
	plot / sumvar=sum_osha raxis=axis2 legend=legend2;&lt;BR /&gt;
	plot / sumvar=sum_lost raxis=axis2;&lt;BR /&gt;
	plot / sumvar=sum_non raxis=axis2;&lt;BR /&gt;
	plot / sumvar=sum_res raxis=axis2;&lt;BR /&gt;
	where inj_yr in ("2010") and div in ("&amp;amp;div.");&lt;BR /&gt;
	format inj_mo $monthf.;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
ODS region x=3.5 in y=3 in height = 3.5 in width = 5 in;&lt;BR /&gt;
proc print data=div_mo3 label noobs;&lt;BR /&gt;
	title "&amp;amp;div.";&lt;BR /&gt;
	var inj_mo pernw sum_osha sum_lost;&lt;BR /&gt;
	where inj_yr in ("2010") and div in ("&amp;amp;div.");&lt;BR /&gt;
	format inj_mo $monthf.;&lt;BR /&gt;
run;&lt;BR /&gt;
ods layout end;&lt;BR /&gt;
%mend;&lt;BR /&gt;
%gbarprint(NW Div);</description>
    <pubDate>Fri, 26 Mar 2010 20:44:48 GMT</pubDate>
    <dc:creator>gzr2mz39</dc:creator>
    <dc:date>2010-03-26T20:44:48Z</dc:date>
    <item>
      <title>gbarline and ods region</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gbarline-and-ods-region/m-p/71687#M2533</link>
      <description>The output from proc print moves up or down based upon the value of y= in ODS region.&lt;BR /&gt;
However, the output from proc gbarline does not seem to be effected by ods region values.&lt;BR /&gt;
Any suggestions?&lt;BR /&gt;
Thank you.&lt;BR /&gt;
&lt;BR /&gt;
goptions reset=all;&lt;BR /&gt;
GOPTIONS DEVICE=activex;&lt;BR /&gt;
options nodate nonumber orientation=portrait; &lt;BR /&gt;
goptions rotate=landscape;&lt;BR /&gt;
ods pdf file="C:\Documents and Settings\SASCode\YTD_Injury\TDBU_YTD.pdf"&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
*&lt;BR /&gt;
*other procedures go here;&lt;BR /&gt;
*&lt;BR /&gt;
&lt;BR /&gt;
ODS PDF STARTPAGE=NOW;&lt;BR /&gt;
&lt;BR /&gt;
%macro gbarprint(div);&lt;BR /&gt;
goptions rotate=landscape;&lt;BR /&gt;
footnote;title;&lt;BR /&gt;
axis1 label=('Percentage') length=4 in;&lt;BR /&gt;
axis2 label=('Injury Count') ;&lt;BR /&gt;
axis3 length=4.5 in;&lt;BR /&gt;
symbol1 i=join c=black v=dot;&lt;BR /&gt;
symbol2 i=join c=green v=dot;&lt;BR /&gt;
legend1 label=('') value=('YTD %') frame;&lt;BR /&gt;
legend2 label=none across=1 position=(bottom center outside) repeat=1 cframe=white;&lt;BR /&gt;
pattern1 v=solid c=orange;&lt;BR /&gt;
pattern2 v=solid c=lightblue;&lt;BR /&gt;
title1 h=3 "&amp;amp;div.";&lt;BR /&gt;
ods layout start;&lt;BR /&gt;
ODS region x=0.5 in y=2 in height = 3.5 in width = 4 in;&lt;BR /&gt;
proc gbarline data=div_mo3;&lt;BR /&gt;
	title "&amp;amp;div.";&lt;BR /&gt;
	bar inj_mo/ sumvar=pernw legend=legend1&lt;BR /&gt;
		discrete raxis=axis1 maxis=axis3 midpoints="Jan" "Feb";&lt;BR /&gt;
	plot / sumvar=sum_osha raxis=axis2 legend=legend2;&lt;BR /&gt;
	plot / sumvar=sum_lost raxis=axis2;&lt;BR /&gt;
	plot / sumvar=sum_non raxis=axis2;&lt;BR /&gt;
	plot / sumvar=sum_res raxis=axis2;&lt;BR /&gt;
	where inj_yr in ("2010") and div in ("&amp;amp;div.");&lt;BR /&gt;
	format inj_mo $monthf.;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
ODS region x=3.5 in y=3 in height = 3.5 in width = 5 in;&lt;BR /&gt;
proc print data=div_mo3 label noobs;&lt;BR /&gt;
	title "&amp;amp;div.";&lt;BR /&gt;
	var inj_mo pernw sum_osha sum_lost;&lt;BR /&gt;
	where inj_yr in ("2010") and div in ("&amp;amp;div.");&lt;BR /&gt;
	format inj_mo $monthf.;&lt;BR /&gt;
run;&lt;BR /&gt;
ods layout end;&lt;BR /&gt;
%mend;&lt;BR /&gt;
%gbarprint(NW Div);</description>
      <pubDate>Fri, 26 Mar 2010 20:44:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gbarline-and-ods-region/m-p/71687#M2533</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-03-26T20:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: gbarline and ods region</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gbarline-and-ods-region/m-p/71688#M2534</link>
      <description>Hi:&lt;BR /&gt;
  ODS LAYOUT (and ODS REGION) are still experimental or "pre-production" with SAS. You might wish to work with Tech Support on this question.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 26 Mar 2010 20:49:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gbarline-and-ods-region/m-p/71688#M2534</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-03-26T20:49:39Z</dc:date>
    </item>
  </channel>
</rss>

