<?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: Heat-map based on sum of multiple fields in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-heat-map-based-on-dynamic-sum-of/m-p/138237#M12889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Select "Change Style"&lt;/P&gt;&lt;P&gt;2. Select the "Choose an attribute to show" drop-down menu, scroll to the bottom of the list, and select "New Expression"&lt;/P&gt;&lt;P&gt;3. Enter the following under "Expression" on line 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum($feature["Associate_s_degree"], $feature["Bachelor_s_degree"])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Select "OK"&lt;/P&gt;&lt;P&gt;5. Select "Counts and Amounts (Color)" as your drawing style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should get you the heat map you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Oct 2019 18:44:57 GMT</pubDate>
    <dc:creator>LandonJohnson1</dc:creator>
    <dc:date>2019-10-18T18:44:57Z</dc:date>
    <item>
      <title>ArcGIS JS API: Heat-map based on dynamic sum of multiple fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-heat-map-based-on-dynamic-sum-of/m-p/138236#M12888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I have a service that gives a layer&amp;nbsp;that has many fields. How do I use the JS API to dynamically display&amp;nbsp;a heat-map&amp;nbsp;with color based on&amp;nbsp;the sum of two or more fields?&amp;nbsp;&lt;SPAN&gt;It does not have to be strictly creating a new field on the fly if that's impossible, as long as&amp;nbsp;I can&amp;nbsp;display the color of polygon for each heat-map feature based on the sum of multiple fields for each feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Thanks.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;H2 style="border: 0px; font-weight: 600; font-size: 22px;"&gt;&lt;SPAN style="border: 0px; font-weight: bold; font-size: 22px;"&gt;&lt;STRONG&gt;Update: I am able to achieve the above using Arcade Expression and Renderers.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 18:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-heat-map-based-on-dynamic-sum-of/m-p/138236#M12888</guid>
      <dc:creator>HanlunSong</dc:creator>
      <dc:date>2019-10-18T18:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Heat-map based on sum of multiple fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-heat-map-based-on-dynamic-sum-of/m-p/138237#M12889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Select "Change Style"&lt;/P&gt;&lt;P&gt;2. Select the "Choose an attribute to show" drop-down menu, scroll to the bottom of the list, and select "New Expression"&lt;/P&gt;&lt;P&gt;3. Enter the following under "Expression" on line 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum($feature["Associate_s_degree"], $feature["Bachelor_s_degree"])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Select "OK"&lt;/P&gt;&lt;P&gt;5. Select "Counts and Amounts (Color)" as your drawing style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should get you the heat map you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 18:44:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-heat-map-based-on-dynamic-sum-of/m-p/138237#M12889</guid>
      <dc:creator>LandonJohnson1</dc:creator>
      <dc:date>2019-10-18T18:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API: Heat-map based on dynamic sum of multiple fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-heat-map-based-on-dynamic-sum-of/m-p/138238#M12890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are talking about desktop or online version?&lt;/P&gt;&lt;P&gt;But I need to use the JS API to render a web map on the fly. So the sum and display needs to be dynamically done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 19:03:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-heat-map-based-on-dynamic-sum-of/m-p/138238#M12890</guid>
      <dc:creator>HanlunSong</dc:creator>
      <dc:date>2019-10-18T19:03:52Z</dc:date>
    </item>
  </channel>
</rss>

