<?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 SG plot data pattern VBAR in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SG-plot-data-pattern-VBAR/m-p/790178#M25555</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to do one of visit group (phone visit) pattern set as empty (no fill ) in below plot (rest of one as same pattern).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is code i am using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc sgplot data=vis0;
   
	   vbar col1/ response=COL1 group=col2grouporder=data groupdisplay=stack
	                 fillattrs=(color="white") 
	   				   outlineattrs=(color="black") fillpattern fillpatternattrs=(color="black");
	   keylegend / position=bottom title="Type of cat";
	   yaxis grid label="Number of types";
	   xaxis display=(nolabel) discreteorder=data valueattrs=(size=7);
	run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Raja.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jan 2022 13:12:28 GMT</pubDate>
    <dc:creator>raja777pharma</dc:creator>
    <dc:date>2022-01-17T13:12:28Z</dc:date>
    <item>
      <title>SG plot data pattern VBAR</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SG-plot-data-pattern-VBAR/m-p/790178#M25555</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to do one of visit group (phone visit) pattern set as empty (no fill ) in below plot (rest of one as same pattern).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is code i am using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc sgplot data=vis0;
   
	   vbar col1/ response=COL1 group=col2grouporder=data groupdisplay=stack
	                 fillattrs=(color="white") 
	   				   outlineattrs=(color="black") fillpattern fillpatternattrs=(color="black");
	   keylegend / position=bottom title="Type of cat";
	   yaxis grid label="Number of types";
	   xaxis display=(nolabel) discreteorder=data valueattrs=(size=7);
	run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Raja.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 13:12:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SG-plot-data-pattern-VBAR/m-p/790178#M25555</guid>
      <dc:creator>raja777pharma</dc:creator>
      <dc:date>2022-01-17T13:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: SG plot data pattern VBAR</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SG-plot-data-pattern-VBAR/m-p/790478#M25556</link>
      <description>&lt;P&gt;I suggest to use the STYLEATTRS statement available with Proc SGPLOT. Give the following code a go. My example has only 3 group values, so in your example just add a fourth color and fillpattern (Ln, Xn, Rn where n is a number between 1-5).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc sgplot data=sashelp.cars;
  styleattrs
    datacontrastcolors=(black white black)
    datafillpatterns=(l1 x5 r1)
  ;
  vbar type /
    group=origin response=invoice stat=mean
    outlineattrs=(color="black")
    fillpattern
    nofill
  ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;S&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 12:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SG-plot-data-pattern-VBAR/m-p/790478#M25556</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2022-01-17T12:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: SG plot data pattern VBAR</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SG-plot-data-pattern-VBAR/m-p/790513#M25557</link>
      <description>&lt;P&gt;COOL ！&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods graphics/attrpriority=none;
proc sgplot data=sashelp.class ;
styleattrs DATAFILLPATTERNS=(r1 r2 x4 l1 l4 l2) 
datacontrastcolors=(black black white black black black);
vbar sex/group=age response=weight 
 fillattrs=(color="white") outlineattrs=(color="black")
 fillpattern   ;

run;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1642423949667.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67460i34463C0DAF1D1B34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1642423949667.png" alt="Ksharp_0-1642423949667.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 12:52:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SG-plot-data-pattern-VBAR/m-p/790513#M25557</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-01-17T12:52:40Z</dc:date>
    </item>
  </channel>
</rss>

