<?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: Can't add data markers to graph in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Can-t-add-data-markers-to-graph/m-p/590084#M18894</link>
    <description>&lt;P&gt;For the SERIES statement, that MARKERS option is always required to show markers, independent of ATTRPRIORITY setting.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2019 15:50:35 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2019-09-19T15:50:35Z</dc:date>
    <item>
      <title>Can't add data markers to graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-t-add-data-markers-to-graph/m-p/589679#M18883</link>
      <description>&lt;P&gt;Hello! I want to add data markers to my graph so the lines can still be differentiated in black and white, but I can't get it to work. Here is my code:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on / attrpriority=none;
proc sgpanel data=pwid.graph;
	panelby icd / uniscale=row columns=2 novarname noheader proportional;
	inset icd / position=topleft nolabel textattrs=(size=10);
	format icd icdf. year yearf.;
	styleattrs datalinepatterns=(solid) datasymbols=(circlefilled starfilled trianglefilled diamondfilled);
	series x=year y=rate / group=disease lineattrs=(thickness=2) legendlabel="Disease";
	rowaxis offsetmax=0.1 label="Cases per 100,000" values=(0 1 2 3 4 5 6);
	colaxis label="Year" type=discrete fitpolicy=rotate;
run;
ods graphics / reset;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I've tried removing the datalinepatterns and datasymbols statements, as well as the styleattrs statement entirely, but I haven't managed to get markers to appear. From my understanding, the attrpriority=none option should make SAS differentiate the lines by colors, line type, and data markers, but it only is changing colors and line type. I've attached the graph I get from this code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For reference, this graph is looking at disease rates over time, paneled by ICD code. The data structure is as follows:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data pwid.graph;
	input year disease icd rate;
	datalines;
	2011 1 9 0.26
	2011 2 9 0.04
	2011 3 9 0.16
	2011 4 9 0.15
	...
	2016 1 10 2.33
	2016 2 10 1.08
	2016 3 10 0.92
	2016 4 10 1.12
	;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 14:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-t-add-data-markers-to-graph/m-p/589679#M18883</guid>
      <dc:creator>megsredl</dc:creator>
      <dc:date>2019-09-18T14:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can't add data markers to graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-t-add-data-markers-to-graph/m-p/589697#M18884</link>
      <description>&lt;P&gt;Have you tried the option MARKERS on the Series statement:&lt;/P&gt;
&lt;PRE&gt;   series x=year y=rate / group=disease 
         lineattrs=(thickness=2) legendlabel="Disease"   &lt;STRONG&gt;&lt;FONT color="#ff00ff"&gt;markers
&lt;/FONT&gt;&lt;/STRONG&gt;   ;
&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Sep 2019 15:12:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-t-add-data-markers-to-graph/m-p/589697#M18884</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-18T15:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can't add data markers to graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-t-add-data-markers-to-graph/m-p/589713#M18885</link>
      <description>&lt;P&gt;That worked, thank you so much! I didn't realize you needed to explicitly add markers when attrpriority=none.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 15:42:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-t-add-data-markers-to-graph/m-p/589713#M18885</guid>
      <dc:creator>megsredl</dc:creator>
      <dc:date>2019-09-18T15:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can't add data markers to graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-t-add-data-markers-to-graph/m-p/590084#M18894</link>
      <description>&lt;P&gt;For the SERIES statement, that MARKERS option is always required to show markers, independent of ATTRPRIORITY setting.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 15:50:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-t-add-data-markers-to-graph/m-p/590084#M18894</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-09-19T15:50:35Z</dc:date>
    </item>
  </channel>
</rss>

