<?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: SGPLOT, lineattrs for specific measures in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGPLOT-lineattrs-for-specific-measures/m-p/68546#M7882</link>
    <description>One correction to my proc template code:  I missed an END;.  The corected code is below:&lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
define style styles.unitstyle;&lt;BR /&gt;
parent=styles.listing; /* or whatever style you're using */&lt;BR /&gt;
style GraphData1 from GraphData1 / /* The number depends on the position */&lt;BR /&gt;
linestyle=1 /* of the unit in your list of units */&lt;BR /&gt;
linethickness=2&lt;BR /&gt;
contrastcolor=blue&lt;BR /&gt;
markersymbol=circlefilled&lt;BR /&gt;
;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods listing style=unitstyle; /* or whatever destination you're using */&lt;BR /&gt;
&lt;YOUR code="" here=""&gt;&lt;/YOUR&gt;</description>
    <pubDate>Thu, 26 Feb 2009 15:55:09 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2009-02-26T15:55:09Z</dc:date>
    <item>
      <title>SGPLOT, lineattrs for specific measures</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGPLOT-lineattrs-for-specific-measures/m-p/68543#M7879</link>
      <description>Hello all-&lt;BR /&gt;
One last question-&lt;BR /&gt;
How I request a specific lineattrs &amp;amp; markerattrs for a specific unit of measure so that if unit A then: &lt;BR /&gt;
lineattrs=(pattern=solid thickness=2px color=blue) &lt;BR /&gt;
  	markerattrs=(symbol=circlefilled )  &lt;BR /&gt;
&lt;BR /&gt;
Thank you again. &lt;BR /&gt;
LB</description>
      <pubDate>Fri, 09 Jan 2009 23:16:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGPLOT-lineattrs-for-specific-measures/m-p/68543#M7879</guid>
      <dc:creator>_LB</dc:creator>
      <dc:date>2009-01-09T23:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT, lineattrs for specific measures</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGPLOT-lineattrs-for-specific-measures/m-p/68544#M7880</link>
      <description>the whole code might help: &lt;BR /&gt;
I want to change just one unit...&lt;BR /&gt;
&lt;BR /&gt;
proc sgplot data=BASIC_OUT_II ; &lt;BR /&gt;
WHERE UNIT1 IN ('Adult Overall Composite', 'ICU', 'NICU','ICC','MZICU') and _type_ in (7,11) and CURRENTFY=1;&lt;BR /&gt;
  &lt;BR /&gt;
&lt;BR /&gt;
   series x=Moi2 y=CRBSI_RATE /&lt;BR /&gt;
     datalabel=CRBSIgraph &lt;BR /&gt;
     lineattrs=(pattern=solid thickness=2px)  &lt;BR /&gt;
     markerattrs=(symbol=circlefilled )&lt;BR /&gt;
     markers group=UNIT1&lt;BR /&gt;
     name="UNITS";&lt;BR /&gt;
   keylegend "UNITS" / &lt;BR /&gt;
     position=bottom location=outside across=5 title='UNIT:';&lt;BR /&gt;
    yaxis  label='CRBSI Rate per 1000 dd' GRID VALUES = (0 TO 15 BY 2.5);&lt;BR /&gt;
	xaxis LABEL=' ' DISPLAY=(NOTICKS);&lt;BR /&gt;
	REFLINE 4.56  / TRANSPARENCY = .1 LINEATTRS=(pattern=dot thickness=3px color=green)&lt;BR /&gt;
LABEL = ('UCSF IAP Goal:4.56') LABELLOC= INSIDE ;&lt;BR /&gt;
run;&lt;BR /&gt;
ODS GRAPHICS OFF;</description>
      <pubDate>Fri, 09 Jan 2009 23:27:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGPLOT-lineattrs-for-specific-measures/m-p/68544#M7880</guid>
      <dc:creator>_LB</dc:creator>
      <dc:date>2009-01-09T23:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT, lineattrs for specific measures</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGPLOT-lineattrs-for-specific-measures/m-p/68545#M7881</link>
      <description>There is currently not a away to assign graph attributes directly to a data value; however, assuming your data is sorted by UNIT1 and Moi2, you could put those attributes in a style element that would get picked up by UNIT A.  For example,&lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
define style styles.unitstyle;&lt;BR /&gt;
parent=styles.listing; /* or whatever style you're using */&lt;BR /&gt;
style GraphData1 from GraphData1 /   /* The number depends on the position */&lt;BR /&gt;
    linestyle=1                                    /* of the unit in your list of units           */&lt;BR /&gt;
    linethickness=2&lt;BR /&gt;
    contrastcolor=blue&lt;BR /&gt;
    markersymbol=circlefilled&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods listing style=unitstyle;  /* or whatever destination you're using */&lt;BR /&gt;
&lt;YOUR code="" here=""&gt;&lt;/YOUR&gt;</description>
      <pubDate>Thu, 26 Feb 2009 15:35:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGPLOT-lineattrs-for-specific-measures/m-p/68545#M7881</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2009-02-26T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT, lineattrs for specific measures</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGPLOT-lineattrs-for-specific-measures/m-p/68546#M7882</link>
      <description>One correction to my proc template code:  I missed an END;.  The corected code is below:&lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
define style styles.unitstyle;&lt;BR /&gt;
parent=styles.listing; /* or whatever style you're using */&lt;BR /&gt;
style GraphData1 from GraphData1 / /* The number depends on the position */&lt;BR /&gt;
linestyle=1 /* of the unit in your list of units */&lt;BR /&gt;
linethickness=2&lt;BR /&gt;
contrastcolor=blue&lt;BR /&gt;
markersymbol=circlefilled&lt;BR /&gt;
;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods listing style=unitstyle; /* or whatever destination you're using */&lt;BR /&gt;
&lt;YOUR code="" here=""&gt;&lt;/YOUR&gt;</description>
      <pubDate>Thu, 26 Feb 2009 15:55:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SGPLOT-lineattrs-for-specific-measures/m-p/68546#M7882</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2009-02-26T15:55:09Z</dc:date>
    </item>
  </channel>
</rss>

