<?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: Breaks rendering issues with decimal fields in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163862#M15209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm creating my breaks in the exact same way as this demo that I based my code on: &lt;/SPAN&gt;&lt;A href="http://jsbin.com/ILAYUNeK"&gt;http://jsbin.com/ILAYUNeK&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; I've also attached a complete version of my code as a txt file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't changed much other than styling the dropdown / legend, adding the Stamen 'toner' layer and substituting my own AGO polygon feature service.&amp;nbsp; Initially, I uploaded all of the counties in TN to my feature service in case we later wanted to show counties outside of our 8-county focus area.&amp;nbsp; I was using setDefinitionExpression on the layer and using the 'where' parameter on&amp;nbsp; GenerateRendererTask.execute.&amp;nbsp; I suspected that this definition query was causing some of the issues, so I deleted all but the eight focus counties in ArcMap and then created a new feature service with only the 8 counties.&amp;nbsp; Then I commented out all of the places where I had applied the definition query.&amp;nbsp; These commented lines are still in the attached code.&amp;nbsp; I still ran into the same problem: counties that are in the highest and lowest class breaks sometimes don't display.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for another quick response.&amp;nbsp; You've been very helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2013 12:26:59 GMT</pubDate>
    <dc:creator>AZendel</dc:creator>
    <dc:date>2013-12-17T12:26:59Z</dc:date>
    <item>
      <title>Breaks rendering issues with decimal fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163860#M15207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got an otherwise functional version of this sample: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://jsbin.com/ILAYUNeK" rel="nofollow" target="_blank"&gt;http://jsbin.com/ILAYUNeK&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp;&amp;nbsp; But I'm also seeing this issue in the ArcGIS.com maps, including &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://tpo.maps.arcgis.com/home/webmap/viewer.html?webmap=c5e6f3cb06504b86890ece94094f9e0b" rel="nofollow" target="_blank"&gt;this one&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; In this map, the counties are rendered based on the single precision PercentVacantHousingUnits field.&amp;nbsp;&amp;nbsp; According to ArcMap, the value in this field for Loudon County (the county that's not displayed) is 8.741081.&amp;nbsp; The legend in the map shows the bottom cut off value for lowest class is 8.7411.&amp;nbsp; I'm not sure if that degree of rounding is just in the legend display or if it's the actual minimum value of the class.&amp;nbsp; I'm guessing the latter is the case since it's not displaying.&amp;nbsp; This same problem is occurring in my 'from scratch' JS map as well that's based on the sample above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a know issue?&amp;nbsp; Is there a work around?&amp;nbsp; Is the code in &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/92540-format-numbers-in-Javascript-legend?highlight=decimal+field" rel="nofollow" target="_blank"&gt;this post&lt;/A&gt;&lt;SPAN&gt; a 'patch' to this problem?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This seems to be a bug.&amp;nbsp; If it is, has anybody submitted a ticket for it?&amp;nbsp; I imagine that many other people could be impacted by this problem - thematic mapping is a common use of web maps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any insight.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 20:08:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163860#M15207</guid>
      <dc:creator>AZendel</dc:creator>
      <dc:date>2013-12-16T20:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Breaks rendering issues with decimal fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163861#M15208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How are you creating your breaks?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 21:26:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163861#M15208</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2013-12-16T21:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Breaks rendering issues with decimal fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163862#M15209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm creating my breaks in the exact same way as this demo that I based my code on: &lt;/SPAN&gt;&lt;A href="http://jsbin.com/ILAYUNeK"&gt;http://jsbin.com/ILAYUNeK&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; I've also attached a complete version of my code as a txt file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't changed much other than styling the dropdown / legend, adding the Stamen 'toner' layer and substituting my own AGO polygon feature service.&amp;nbsp; Initially, I uploaded all of the counties in TN to my feature service in case we later wanted to show counties outside of our 8-county focus area.&amp;nbsp; I was using setDefinitionExpression on the layer and using the 'where' parameter on&amp;nbsp; GenerateRendererTask.execute.&amp;nbsp; I suspected that this definition query was causing some of the issues, so I deleted all but the eight focus counties in ArcMap and then created a new feature service with only the 8 counties.&amp;nbsp; Then I commented out all of the places where I had applied the definition query.&amp;nbsp; These commented lines are still in the attached code.&amp;nbsp; I still ran into the same problem: counties that are in the highest and lowest class breaks sometimes don't display.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for another quick response.&amp;nbsp; You've been very helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 12:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163862#M15209</guid>
      <dc:creator>AZendel</dc:creator>
      <dc:date>2013-12-17T12:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Breaks rendering issues with decimal fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163863#M15210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This problem seems to be caused by sending a float (aka single) field to the class breaks renderer.&amp;nbsp; I created a feature class with double fields and re-uploaded the feature service to AGO.&amp;nbsp; The problem was no longer occurring.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully this post will prevent others from spending a considerable amount of time trying to debug their code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 14:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163863#M15210</guid>
      <dc:creator>AZendel</dc:creator>
      <dc:date>2013-12-19T14:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Breaks rendering issues with decimal fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163864#M15211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alex,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm glad to hear you were able to find a solution. To help those who are looking for an answer to this question in the future, you should click the check in your post to mark it as having answered the question.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 14:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaks-rendering-issues-with-decimal-fields/m-p/163864#M15211</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-12-19T14:32:28Z</dc:date>
    </item>
  </channel>
</rss>

