<?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: How to set transparent background of ods chart in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-set-transparent-background-of-ods-chart/m-p/254457#M9206</link>
    <description>&lt;P&gt;Transparent backgrounds are supported with SAS 9.40M3 GTL. &amp;nbsp;Add these options to the BEGINGRAPH statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; BEGINGRAPH / OPAQUE=false PAD=0;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2016 14:31:26 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2016-03-04T14:31:26Z</dc:date>
    <item>
      <title>How to set transparent background of ods chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-set-transparent-background-of-ods-chart/m-p/254446#M9203</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to use ods layout absolute to place&amp;nbsp;a chart (created with proc sgrender) over a map (created with proc gmap) in a pdf. How can I set the background of the chart to be transparent so that the map is visible at the sides&amp;nbsp;of the chart?&amp;nbsp;&lt;SPAN style="line-height: 20px;"&gt;"Goptions transparency" does not seem to help here. I use the code below on SAS 9.4M2 on Windows.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;
&lt;P&gt;Jonas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options orientation=landscape leftmargin=0.01cm rightmargin=0.01cm bottommargin=0.01cm topmargin=0.01cm papersize='A4';
options nodate nonumber nocenter;
goptions reset=all noborder device=ACTXIMG transparency;
ods escapechar="~";
ods graphics on /noborder;
title; footnote;

ods pdf 
	notoc 
	nogtitle 
	nogfootnote 
	dpi=300
	title="Test transparent Background with ods"
	author="Jonas"
	file="c:\FancyMap.pdf";

ods layout absolute;

proc gmap map=maps.europe(where=(id ne 405 and id ne 845))
          data=sashelp.demographics(where=(cont=93)) all;
  id id;
  choro pop / cdefault=yellow;
run;
quit;


ods region x=7cm y=5cm width=7cm height=7cm;
	proc template;
	   define statgraph piechart;
		   begingraph;
		      entrytitle "Creating a Pie Chart of Automobile Makes";
		      layout region;
		         piechart category=make / datalabellocation=inside dataskin=sheen
			          categorydirection=clockwise start=180
		                  othersliceopts=(type=percent percent=5 label="Other Makes");
		      endlayout;
		   endgraph;
	   end;

  	/* Define the style for the colors of the pie slices and the outline */
   	define style mystyle;
	   parent=styles.watercolor;
	      style graphoutlines from graphoutlines / contrastcolor=gray55;
	   end;
	run;

	ods listing style=mystyle;

	proc sgrender data=sashelp.cars template=piechart;
	   where origin='Asia';
	run;	

ods layout end;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 11:56:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-set-transparent-background-of-ods-chart/m-p/254446#M9203</guid>
      <dc:creator>jb3</dc:creator>
      <dc:date>2016-03-04T11:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to set transparent background of ods chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-set-transparent-background-of-ods-chart/m-p/254457#M9206</link>
      <description>&lt;P&gt;Transparent backgrounds are supported with SAS 9.40M3 GTL. &amp;nbsp;Add these options to the BEGINGRAPH statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; BEGINGRAPH / OPAQUE=false PAD=0;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 14:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-set-transparent-background-of-ods-chart/m-p/254457#M9206</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-03-04T14:31:26Z</dc:date>
    </item>
  </channel>
</rss>

