<?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: Goptions CBACK = in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350802#M12191</link>
    <description>&lt;P&gt;Dan is correct - I have verified it with the code below, and verified that the background looks 'checkerboard' in Photoshop, which indicates that it is transparent:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filename odsout '.';&lt;BR /&gt;ODS LISTING CLOSE;&lt;BR /&gt;ODS HTML path=odsout body="transparent.htm";&lt;/P&gt;
&lt;P&gt;goptions device=png;&lt;BR /&gt;goptions transparency;&lt;BR /&gt;proc gchart data=sashelp.class;&lt;BR /&gt;hbar name / type=sum sumvar=height descending space=0&lt;BR /&gt; des='' name="transparent";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;quit;&lt;BR /&gt;ODS HTML CLOSE;&lt;BR /&gt;ODS LISTING;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8362iB385D9EAC2EB2621/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="transparent_photoshop.png" title="transparent_photoshop.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2017 12:09:28 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2017-04-18T12:09:28Z</dc:date>
    <item>
      <title>Goptions CBACK =</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350581#M12172</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way where i can remove the background &amp;nbsp;from white and make it transparent. I am using this options , but i want to make the background color to be transparent . is there any such options. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;goptions reset=all border cback=white htitle=5.0 htext=4.0 imagestyle= vsize=5.17in hsize=7.10in;&lt;BR /&gt;goptions device=jpeg gsfname=out;&lt;BR /&gt;goptions xpixels=500 ypixels=500;&lt;BR /&gt;goptions cback=white;&lt;BR /&gt;goptions border&lt;BR /&gt;gunit=pct htitle=5.0 htext=4.0 ctext=gray33;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 17:23:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350581#M12172</guid>
      <dc:creator>pmksasbi</dc:creator>
      <dc:date>2017-04-17T17:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Goptions CBACK =</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350618#M12176</link>
      <description>&lt;P&gt;Not an exact solution, but a potential starting point is this post:&lt;A href="https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/How-to-set-transparent-background-of-ods-chart/td-p/254446" target="_self"&gt;https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/How-to-set-transparent-background-of-ods-chart/td-p/254446&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 19:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350618#M12176</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2017-04-17T19:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Goptions CBACK =</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350646#M12178</link>
      <description>&lt;P&gt;If you are using a traditional device based graphic procedure such as Gplot, Gchart, Gslide or Gmap I don't believe you can set transparency.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is for an annotate data set my &lt;STRONG&gt;may&lt;/STRONG&gt; be able to determine the color you are displaying on and set to that color. Maybe. Not with any gradient and wouldn't work with any background color other than a solid fill pattern (no crosshatch or line pattern ),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you share some example data and the full code we may be able to suggest something using the ODS graphic procedures that do support transparency.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 21:16:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350646#M12178</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-17T21:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Goptions CBACK =</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350650#M12180</link>
      <description>&lt;P&gt;Can you set your device to be PNG and use GOPTIONS TRANSPARENCY?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/69717/HTML/default/viewer.htm#p0z42ld4n1bs5jn199f44o5i1jrs.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/69717/HTML/default/viewer.htm#p0z42ld4n1bs5jn199f44o5i1jrs.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 21:26:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350650#M12180</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-04-17T21:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Goptions CBACK =</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350802#M12191</link>
      <description>&lt;P&gt;Dan is correct - I have verified it with the code below, and verified that the background looks 'checkerboard' in Photoshop, which indicates that it is transparent:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filename odsout '.';&lt;BR /&gt;ODS LISTING CLOSE;&lt;BR /&gt;ODS HTML path=odsout body="transparent.htm";&lt;/P&gt;
&lt;P&gt;goptions device=png;&lt;BR /&gt;goptions transparency;&lt;BR /&gt;proc gchart data=sashelp.class;&lt;BR /&gt;hbar name / type=sum sumvar=height descending space=0&lt;BR /&gt; des='' name="transparent";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;quit;&lt;BR /&gt;ODS HTML CLOSE;&lt;BR /&gt;ODS LISTING;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8362iB385D9EAC2EB2621/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="transparent_photoshop.png" title="transparent_photoshop.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 12:09:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Goptions-CBACK/m-p/350802#M12191</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2017-04-18T12:09:28Z</dc:date>
    </item>
  </channel>
</rss>

