<?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 use black and white fill patterns for bar graphs in ODS Graphics Designer in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-use-black-and-white-fill-patterns-for-bar-graphs-in-ODS/m-p/612798#M19248</link>
    <description>&lt;P&gt;When you use the ODS Graphics Designer, you can see the GTL for the current graph by selecting &lt;STRONG&gt;View-&amp;gt;Code&lt;/STRONG&gt;.&amp;nbsp;You can cut and paste this code in a SAS editor and run the program to create the template. You can &lt;STRONG&gt;create&lt;/STRONG&gt; the graph using PROC SGRENDER. At the time the graph is RENDERED, it checks the current style and applies the style to the template.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In short, set the style then call SGRENDER on the template:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="sas"&gt;ods html style=Journal;&lt;BR /&gt;proc sgrender data=Have template=MyTmplate;&lt;BR /&gt;run;&lt;BR /&gt;ods html close;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 19:43:45 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2019-12-18T19:43:45Z</dc:date>
    <item>
      <title>How to use black and white fill patterns for bar graphs in ODS Graphics Designer</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-use-black-and-white-fill-patterns-for-bar-graphs-in-ODS/m-p/612575#M19245</link>
      <description>&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use fill patterns instead of fill colors from the ODS graphics designer app, but I could not do it. I complete the analysis with SAS and then I use the ODS graphics designer app to plot my graphs and edit the graph styles. I googled, but I could not figure out how to use fill patterns like Journal2 style within ODS Graphics Designer. I would appreciate any help on this topic.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Dec 2019 04:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-use-black-and-white-fill-patterns-for-bar-graphs-in-ODS/m-p/612575#M19245</guid>
      <dc:creator>mmhxc5</dc:creator>
      <dc:date>2019-12-18T04:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use black and white fill patterns for bar graphs in ODS Graphics Designer</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-use-black-and-white-fill-patterns-for-bar-graphs-in-ODS/m-p/612798#M19248</link>
      <description>&lt;P&gt;When you use the ODS Graphics Designer, you can see the GTL for the current graph by selecting &lt;STRONG&gt;View-&amp;gt;Code&lt;/STRONG&gt;.&amp;nbsp;You can cut and paste this code in a SAS editor and run the program to create the template. You can &lt;STRONG&gt;create&lt;/STRONG&gt; the graph using PROC SGRENDER. At the time the graph is RENDERED, it checks the current style and applies the style to the template.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In short, set the style then call SGRENDER on the template:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="sas"&gt;ods html style=Journal;&lt;BR /&gt;proc sgrender data=Have template=MyTmplate;&lt;BR /&gt;run;&lt;BR /&gt;ods html close;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 19:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-use-black-and-white-fill-patterns-for-bar-graphs-in-ODS/m-p/612798#M19248</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-12-18T19:43:45Z</dc:date>
    </item>
  </channel>
</rss>

