<?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: Adding missing values in the legend when using heatmap in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Adding-missing-values-in-the-legend-when-using-heatmap/m-p/290979#M10262</link>
    <description>&lt;P&gt;Ah, yes. Sorry. I editted&amp;nbsp;my response to fix that error, in case someone else searches for your question and finds this page.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2016 13:57:47 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-08-11T13:57:47Z</dc:date>
    <item>
      <title>Adding missing values in the legend when using heatmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-missing-values-in-the-legend-when-using-heatmap/m-p/290801#M10259</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the Template and the Sgrender procedures to create a heatmap graphic. I have some missing values in my data, and I use the white color to see them. I would like to add this color next to the heatmap legend so other people would know that white=missing, but I did not find a way to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has an idea, I would really appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 19:34:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-missing-values-in-the-legend-when-using-heatmap/m-p/290801#M10259</guid>
      <dc:creator>Ceciestunnomtemporaire</dc:creator>
      <dc:date>2016-08-10T19:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding missing values in the legend when using heatmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-missing-values-in-the-legend-when-using-heatmap/m-p/290970#M10260</link>
      <description>&lt;P&gt;I haven't done this myself, but look at the &lt;A href="http://support.sas.com/documentation/cdl/en/grstatgraph/67882/HTML/default/viewer.htm#p0ltl3z1z97jldn14vccmjnrhg2n.htm" target="_self"&gt;LEGENDITEM statement.&lt;/A&gt;&amp;nbsp; The example at the end looks like you ought to be able to do something like this (untested):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;legenditem type=marker name="missingVal" / markerattrs=(color=white symbol=squarefilled size=14)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; label="Missing Value";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use a DISCRETELEGEND statement inside the LAYOUT OVERLAY to place the missing value swatch where you want it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course, the simpler way is to use TITLE2 or FOOTNOTE &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;footnote "The color white represents a missing value";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 13:56:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-missing-values-in-the-legend-when-using-heatmap/m-p/290970#M10260</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-11T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding missing values in the legend when using heatmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-missing-values-in-the-legend-when-using-heatmap/m-p/290975#M10261</link>
      <description>&lt;P&gt;Yes it's working fine. I just had to add a slash before "&lt;SPAN&gt;markerattrs".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and have a great day !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 13:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-missing-values-in-the-legend-when-using-heatmap/m-p/290975#M10261</guid>
      <dc:creator>Ceciestunnomtemporaire</dc:creator>
      <dc:date>2016-08-11T13:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adding missing values in the legend when using heatmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-missing-values-in-the-legend-when-using-heatmap/m-p/290979#M10262</link>
      <description>&lt;P&gt;Ah, yes. Sorry. I editted&amp;nbsp;my response to fix that error, in case someone else searches for your question and finds this page.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 13:57:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-missing-values-in-the-legend-when-using-heatmap/m-p/290979#M10262</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-11T13:57:47Z</dc:date>
    </item>
  </channel>
</rss>

