<?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: Why are two of the in following plot dashed and the other two solid? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773756#M22150</link>
    <description>&lt;P&gt;For more on the ATTRPRIORITY= option, see &lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2015/06/28/attributes-priority-for-the-inquiring-mind/" target="_self"&gt;this article by Sanjay Matange&lt;/A&gt;&amp;nbsp;or &lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2018/10/08/getting-started-with-sgplot-part-13-style-attributes/" target="_self"&gt;this article by Warren Kuhfeld.&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Oct 2021 20:49:39 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2021-10-12T20:49:39Z</dc:date>
    <item>
      <title>Why are two of the in following plot dashed and the other two solid?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773509#M22137</link>
      <description>&lt;P&gt;I made a series plot by group. In the results window, all of the lines are solid, but in the .png output, two lines are dashed. I can't figure out what part of the code is doing that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods listing gpath='&amp;amp;path';
ods graphics on / reset=all noborder imagename="plot" imagefmt=png;
title1 c=gray33 h=14pt "Title";
proc sgplot data=month_total aspect=1;
	series x=month y=total / smoothconnect group=gr name="a"
		markers markerattrs=(symbol=squarefilled size=3pt);
	where date_ &amp;lt; 22554;
	xaxis values=(1 to 12) valuesdisplay=('Jan' 'Feb' 'Mar' 'Apr' 'May' 'Jun' 'Jul' 'Aug' 'Sep' 'Oct' 'Nov' 'Dec' '')
		valueattrs=(color=gray33 size=10pt)
		label="payment month";
	yaxis label="total" valueattrs=(color=gray33 size=10pt);
	keylegend "a" / noborder position=right;
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Oct 2021 22:57:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773509#M22137</guid>
      <dc:creator>kz_</dc:creator>
      <dc:date>2021-10-11T22:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why are two of the in following plot dashed and the other two solid?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773530#M22138</link>
      <description>&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_017/statug/statug_odsgraph_sect048.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/v_017/statug/statug_odsgraph_sect048.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS styles control appearances, and default styles differ for html, pdf, rtf, listing, and so on.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 02:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773530#M22138</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2021-10-12T02:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why are two of the in following plot dashed and the other two solid?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773719#M22148</link>
      <description>&lt;P&gt;Different destinations will have different style defaults and will look different.&amp;nbsp; To avoid this you can be more specific in your code.&amp;nbsp; For example, if you want all solid lines in any output add LINEATTRS=(pattern=solid) to your series statement.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 18:41:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773719#M22148</guid>
      <dc:creator>JeffMeyers</dc:creator>
      <dc:date>2021-10-12T18:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why are two of the in following plot dashed and the other two solid?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773725#M22149</link>
      <description>&lt;P&gt;The LISTING style uses ATTRPRIORITY=NONE, which will allow more than one attribute change per group (in this case, color and pattern). The default style for HTML output is HTMLBlue, which is set to ATTRPRIORITY=COLOR. In that case, all of the colors are exhausted before rotating the other attribute. To get the two outputs to look the same, do this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods listing style=HTMLBlue;&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>Tue, 12 Oct 2021 19:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773725#M22149</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2021-10-12T19:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why are two of the in following plot dashed and the other two solid?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773756#M22150</link>
      <description>&lt;P&gt;For more on the ATTRPRIORITY= option, see &lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2015/06/28/attributes-priority-for-the-inquiring-mind/" target="_self"&gt;this article by Sanjay Matange&lt;/A&gt;&amp;nbsp;or &lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2018/10/08/getting-started-with-sgplot-part-13-style-attributes/" target="_self"&gt;this article by Warren Kuhfeld.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 20:49:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/773756#M22150</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-10-12T20:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why are two of the in following plot dashed and the other two solid?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/775416#M22170</link>
      <description>If I am using a template (so I already have a style = mystyle statement), is there a way to add this to the template?</description>
      <pubDate>Wed, 20 Oct 2021 14:52:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/775416#M22170</guid>
      <dc:creator>kz_</dc:creator>
      <dc:date>2021-10-20T14:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why are two of the in following plot dashed and the other two solid?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/775418#M22171</link>
      <description>&lt;P&gt;Yes, you can. You can add ATTRPRIORITY to the BEGINGRAPH statement in your GTL template.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 14:56:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Why-are-two-of-the-in-following-plot-dashed-and-the-other-two/m-p/775418#M22171</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2021-10-20T14:56:37Z</dc:date>
    </item>
  </channel>
</rss>

