<?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 FeatureRenderer can't update when changing visualVaribles in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurerenderer-can-t-update-when-changing/m-p/115239#M10749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcGIS Javascript 4.5.&lt;/P&gt;&lt;P&gt;I have been trying to visualize the yearly data that are stored in fields, as below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385571" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/385571_pastedImage_1.png" style="width: 620px; height: 158px;" /&gt;&lt;/P&gt;&lt;P&gt;Then I found it is very hard for the server to load data from another field each time. Since I am making animated map, the rendering time is just too long. Afterwards I saved all the fields into one, then using Arcade to read the needed fields.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385572" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/385572_pastedImage_2.png" style="width: 620px; height: 176px;" /&gt;&lt;/P&gt;&lt;P&gt;For different year, value Expression in visualVariables will be updated.Using Arcade.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385573" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/385573_pastedImage_3.png" style="width: 620px; height: 307px;" /&gt;&lt;/P&gt;&lt;P&gt;This is where renderer of a feature layer will be changed:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385580" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/385580_pastedImage_4.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;But this does not make any changes to the visualization. The renderer works for the first time, but stays the same afterwards.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385581" class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/385581_pastedImage_5.png" style="width: 620px; height: 677px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here are my question:&lt;/P&gt;&lt;P&gt;1. how is this possible? Renderer is changed( seen from cosole.log) but the output is not changed? which properties of a renderer can be changed? What should I do to make it render again?&lt;/P&gt;&lt;P&gt;2.Is there any other way to read data faster in order to make a smooth animation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Dec 2017 16:02:02 GMT</pubDate>
    <dc:creator>KeniHan</dc:creator>
    <dc:date>2017-12-04T16:02:02Z</dc:date>
    <item>
      <title>FeatureRenderer can't update when changing visualVaribles</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurerenderer-can-t-update-when-changing/m-p/115239#M10749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcGIS Javascript 4.5.&lt;/P&gt;&lt;P&gt;I have been trying to visualize the yearly data that are stored in fields, as below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385571" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/385571_pastedImage_1.png" style="width: 620px; height: 158px;" /&gt;&lt;/P&gt;&lt;P&gt;Then I found it is very hard for the server to load data from another field each time. Since I am making animated map, the rendering time is just too long. Afterwards I saved all the fields into one, then using Arcade to read the needed fields.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385572" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/385572_pastedImage_2.png" style="width: 620px; height: 176px;" /&gt;&lt;/P&gt;&lt;P&gt;For different year, value Expression in visualVariables will be updated.Using Arcade.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385573" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/385573_pastedImage_3.png" style="width: 620px; height: 307px;" /&gt;&lt;/P&gt;&lt;P&gt;This is where renderer of a feature layer will be changed:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385580" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/385580_pastedImage_4.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;But this does not make any changes to the visualization. The renderer works for the first time, but stays the same afterwards.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="385581" class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/385581_pastedImage_5.png" style="width: 620px; height: 677px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here are my question:&lt;/P&gt;&lt;P&gt;1. how is this possible? Renderer is changed( seen from cosole.log) but the output is not changed? which properties of a renderer can be changed? What should I do to make it render again?&lt;/P&gt;&lt;P&gt;2.Is there any other way to read data faster in order to make a smooth animation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 16:02:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurerenderer-can-t-update-when-changing/m-p/115239#M10749</guid>
      <dc:creator>KeniHan</dc:creator>
      <dc:date>2017-12-04T16:02:02Z</dc:date>
    </item>
  </channel>
</rss>

