<?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: How do I change the default label in a ClassBreaksRenderer from &amp;quot;others&amp;quot;? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-change-the-default-label-in-a/m-p/192606#M17794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 19:13:38 GMT</pubDate>
    <dc:creator>DavidChevrier</dc:creator>
    <dc:date>2016-03-23T19:13:38Z</dc:date>
    <item>
      <title>How do I change the default label in a ClassBreaksRenderer from "others"?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-change-the-default-label-in-a/m-p/192603#M17791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't seem to locate how to change the default label of the ClassBreaksRenderer.&amp;nbsp; I can change the symbol, but not the label for the legend for data that does not fall within the scope of the breaks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 15:07:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-change-the-default-label-in-a/m-p/192603#M17791</guid>
      <dc:creator>DavidChevrier</dc:creator>
      <dc:date>2016-03-23T15:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the default label in a ClassBreaksRenderer from "others"?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-change-the-default-label-in-a/m-p/192604#M17792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have looked high and low and have not found any way to change it. I looked for the default string of "others" in the esriBundle and it is not there so I don't know where it is coming from to change it. I have checked all the properties of ClassBreakRenderer and there is nothing there even in the private underscore properties or methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe &lt;A href="https://community.esri.com/migrated-users/2525"&gt;Kelly Hutchins&lt;/A&gt;​ can shed some light.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 17:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-change-the-default-label-in-a/m-p/192604#M17792</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-03-23T17:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the default label in a ClassBreaksRenderer from "others"?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-change-the-default-label-in-a/m-p/192605#M17793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you can use the defaultLabel property to modify the others value. Doesn't look like its doc'd for ClassBreaksRenderer but it is for UniqueValueRenderer. I tested it with ClassBreaksRenderer and in my testing it worked. Here's a bit of code that shows how I set the property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var renderer = new ClassBreaksRenderer(symbol, "POP07_SQMI");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer.addBreak(20, 25, new SimpleFillSymbol().setColor(new Color([56, 168, 0, 0.5])));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer.addBreak(25, 75, new SimpleFillSymbol().setColor(new Color([139, 209, 0, 0.5])));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer.addBreak(75, 175, new SimpleFillSymbol().setColor(new Color([255, 255, 0, 0.5])));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer.addBreak(175, 400, new SimpleFillSymbol().setColor(new Color([255, 128, 0, 0.5])));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer.addBreak(400, Infinity, new SimpleFillSymbol().setColor(new Color([255, 0, 0, 0.5])));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer.defaultLabel = "Not Matched";&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:40:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-change-the-default-label-in-a/m-p/192605#M17793</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2021-12-11T09:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the default label in a ClassBreaksRenderer from "others"?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-change-the-default-label-in-a/m-p/192606#M17794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 19:13:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-change-the-default-label-in-a/m-p/192606#M17794</guid>
      <dc:creator>DavidChevrier</dc:creator>
      <dc:date>2016-03-23T19:13:38Z</dc:date>
    </item>
  </channel>
</rss>

