<?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: styleattrs not cylcling? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/styleattrs-not-cycling/m-p/378267#M13086</link>
    <description>&lt;P&gt;Here's what is probably happening:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your output is probably HTML output. The default ODS style for that desitnation is HTMLBlue. The HTMLBlue is what we call a "color-priority" style, because it has ATTRPRIORITY=COLOR in the GRAPH style element. This means that the first line pattern or marker symbol is used until all colors are exhausted. Then, the pattern ot symbol is incremented. This is the behavior you are getting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An easy way to override this behavior is to set the ATTRPRIORITY option on the ODS GRAPHICS statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics / attrpriority=none;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2017 18:04:16 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2017-07-21T18:04:16Z</dc:date>
    <item>
      <title>styleattrs not cycling?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/styleattrs-not-cycling/m-p/378264#M13085</link>
      <description>&lt;P&gt;I have a set of procedures for styleattrs not cycling through the options, what am I doing wrong? &amp;nbsp;The datalinepatterns and the datasymbols aren't using both specifications. Both linepatterns are dashed not dashed then solid, and the symbols aren't circles then triangles.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10450i3D003DEBBDE8C538/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.GIF" title="Capture.GIF" width="456" height="337" /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=insurance;
	styleattrs datacontrastcolors=(red blue) datalinepatterns=(dash solid) datasymbols=(circle triangle);
	pbspline x=size y=months / group=stock smooth=100000;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 17:59:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/styleattrs-not-cycling/m-p/378264#M13085</guid>
      <dc:creator>syk</dc:creator>
      <dc:date>2017-07-21T17:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: styleattrs not cylcling?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/styleattrs-not-cycling/m-p/378267#M13086</link>
      <description>&lt;P&gt;Here's what is probably happening:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your output is probably HTML output. The default ODS style for that desitnation is HTMLBlue. The HTMLBlue is what we call a "color-priority" style, because it has ATTRPRIORITY=COLOR in the GRAPH style element. This means that the first line pattern or marker symbol is used until all colors are exhausted. Then, the pattern ot symbol is incremented. This is the behavior you are getting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An easy way to override this behavior is to set the ATTRPRIORITY option on the ODS GRAPHICS statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics / attrpriority=none;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 18:04:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/styleattrs-not-cycling/m-p/378267#M13086</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-07-21T18:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: styleattrs not cylcling?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/styleattrs-not-cycling/m-p/378268#M13087</link>
      <description>Thank you very much.</description>
      <pubDate>Fri, 21 Jul 2017 18:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/styleattrs-not-cycling/m-p/378268#M13087</guid>
      <dc:creator>syk</dc:creator>
      <dc:date>2017-07-21T18:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: styleattrs not cylcling?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/styleattrs-not-cycling/m-p/378356#M13090</link>
      <description>&lt;P&gt;To expand on what Dan said, here are some sources of information about attribute priority.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_odsgraph_sect016.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_odsgraph_sect016.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_odsgraph_sect055.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_odsgraph_sect055.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_odsgraph_sect063.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_odsgraph_sect063.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2017 00:52:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/styleattrs-not-cycling/m-p/378356#M13090</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-07-22T00:52:31Z</dc:date>
    </item>
  </channel>
</rss>

