<?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 I replace the label for 'others' in my legend? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-replace-the-label-for-others-in-my-legend/m-p/159513#M14876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you can modify the text for others in the legend. To do this you'll need to modify the renderer's defaultLabel before applying the renderer to the layer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer.defaultLabel = "Not Classified"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayer.setRenderer(renderer);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2014 23:54:39 GMT</pubDate>
    <dc:creator>KellyHutchins</dc:creator>
    <dc:date>2014-08-26T23:54:39Z</dc:date>
    <item>
      <title>Can I replace the label for 'others' in my legend?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-replace-the-label-for-others-in-my-legend/m-p/159512#M14875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my legend I have some 'no data' values from my classification and they appear in my legend as 'others'.&amp;nbsp; Is there a way I can change this to say something else?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 21:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-replace-the-label-for-others-in-my-legend/m-p/159512#M14875</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2014-08-26T21:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can I replace the label for 'others' in my legend?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-replace-the-label-for-others-in-my-legend/m-p/159513#M14876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you can modify the text for others in the legend. To do this you'll need to modify the renderer's defaultLabel before applying the renderer to the layer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer.defaultLabel = "Not Classified"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayer.setRenderer(renderer);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 23:54:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-replace-the-label-for-others-in-my-legend/m-p/159513#M14876</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2014-08-26T23:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can I replace the label for 'others' in my legend?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-replace-the-label-for-others-in-my-legend/m-p/159514#M14877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was it.&amp;nbsp; I was trying to find it within the legend reference.&amp;nbsp; It didn't occur to me to look at the renderer. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 13:14:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-replace-the-label-for-others-in-my-legend/m-p/159514#M14877</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2014-08-27T13:14:04Z</dc:date>
    </item>
  </channel>
</rss>

