<?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: Display All Possible Values in Legend in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Display-All-Possible-Values-in-Legend/m-p/278992#M9925</link>
    <description>&lt;P&gt;How easy was that! &amp;nbsp;Luckily, I am using DISCRETEATTRMAP, so this was probably the easiest fix. &amp;nbsp;Thank you so much. &amp;nbsp;There are so many options out there that I usually don't even know what I'm looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2016 12:13:40 GMT</pubDate>
    <dc:creator>djbateman</dc:creator>
    <dc:date>2016-06-21T12:13:40Z</dc:date>
    <item>
      <title>Display All Possible Values in Legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Display-All-Possible-Values-in-Legend/m-p/278881#M9920</link>
      <description>&lt;P&gt;I'm using GTL to make several bubble plots. &amp;nbsp;I am making a different plot for a different adverse event where the bubbles are color coded by AE grade. &amp;nbsp;When I subset my data to certain AE terms, not all grades are represented. &amp;nbsp;For example, when I run the Fatigue&amp;nbsp;plot, Grade 1, Grade 2, and Grade 3 show up, but Grade 4 is not in the legend because there are no Grade 4 Fatigue in my data. &amp;nbsp;There are some graphs that only show Grade 1 in the legend. &amp;nbsp;I just want the Grade 4 to appear in the legend so that all legends are consistent across all plots.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way in the DISCRETELEGEND statement to specify what values to display (i.e., display all 4 grades)? &amp;nbsp;I am sure I have done this in the past, but I can't find any sample code. &amp;nbsp;Google is also not being much of a help. &amp;nbsp;I am trying to not run some kind of massive shell table that has all possible combinations of subject ID, AE term, and grade level and then merge in my actual data to have a bunch of missing values. &amp;nbsp;Can I avoid doing that?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 00:52:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Display-All-Possible-Values-in-Legend/m-p/278881#M9920</guid>
      <dc:creator>djbateman</dc:creator>
      <dc:date>2016-06-21T00:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Display All Possible Values in Legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Display-All-Possible-Values-in-Legend/m-p/278886#M9921</link>
      <description>&lt;P&gt;If you are using an inline DISCRETEATTRMAP statement inside GTL, you can set&amp;nbsp;the option&amp;nbsp;&lt;A href="http://sww.sas.com/saspedia/GTL_DiscreteAttrMap_statement#DISCRETELEGENDENTRYPOLICY" target="_blank"&gt;DISCRETELEGENDENTRYPOLICY&lt;/A&gt;&lt;SPAN&gt;=ATTRMAP to get all values from the attrmap into the legend associated with the plot statement, in the order they are provided in the attr map. &amp;nbsp;If you are using an external DataSet based DAttrMap, you can set the SHOW column to "ATTRMAP".&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 01:11:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Display-All-Possible-Values-in-Legend/m-p/278886#M9921</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-06-21T01:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Display All Possible Values in Legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Display-All-Possible-Values-in-Legend/m-p/278961#M9924</link>
      <description>&lt;P&gt;For one way to handle this situation, see the article &lt;A href="http://blogs.sas.com/content/iml/2016/02/17/include-and-order-categories-in-legends.html" target="_self"&gt;"A simple trick to include (and order!) all categories in SGPLOT legends."&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 09:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Display-All-Possible-Values-in-Legend/m-p/278961#M9924</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-06-21T09:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Display All Possible Values in Legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Display-All-Possible-Values-in-Legend/m-p/278992#M9925</link>
      <description>&lt;P&gt;How easy was that! &amp;nbsp;Luckily, I am using DISCRETEATTRMAP, so this was probably the easiest fix. &amp;nbsp;Thank you so much. &amp;nbsp;There are so many options out there that I usually don't even know what I'm looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 12:13:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Display-All-Possible-Values-in-Legend/m-p/278992#M9925</guid>
      <dc:creator>djbateman</dc:creator>
      <dc:date>2016-06-21T12:13:40Z</dc:date>
    </item>
  </channel>
</rss>

