<?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 createClassedColorRenderer missing the &amp;quot;statistics&amp;quot; promise parameter in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/createclassedcolorrenderer-missing-the-quot/m-p/518272#M48334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using JS API &lt;A href="https://community.esri.com/t5/tag/3.20/tg-p"&gt;#3.20&lt;/A&gt;, the &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/esri.renderers.smartmapping-amd.html#createclassedcolorrenderer"&gt;smartmapping.createClassedColorRenderer()&lt;/A&gt; method is supposed to&amp;nbsp;have a statistics output parameter&amp;nbsp;on the promise&amp;nbsp;object, which seems to be missing.&lt;/P&gt;&lt;P&gt;When altering the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=smartmapping_bycolor"&gt;smartmapping bycolor Sample&lt;/A&gt;&amp;nbsp;in line 195, so that it says&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;smartMapping.createClassedColorRenderer&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;instead of&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;smartMapping.createColorRenderer&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;results in an error calculating the histogram, because something is undefined. Taking a closer look, the&amp;nbsp;promise object of the classed color renderer doesn't have the "statistics" property, which is supposed to be there.&lt;/P&gt;&lt;P&gt;Is this a Bug or am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2017 12:55:01 GMT</pubDate>
    <dc:creator>NiklasKöhn</dc:creator>
    <dc:date>2017-06-13T12:55:01Z</dc:date>
    <item>
      <title>createClassedColorRenderer missing the "statistics" promise parameter</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/createclassedcolorrenderer-missing-the-quot/m-p/518272#M48334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using JS API &lt;A href="https://community.esri.com/t5/tag/3.20/tg-p"&gt;#3.20&lt;/A&gt;, the &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/esri.renderers.smartmapping-amd.html#createclassedcolorrenderer"&gt;smartmapping.createClassedColorRenderer()&lt;/A&gt; method is supposed to&amp;nbsp;have a statistics output parameter&amp;nbsp;on the promise&amp;nbsp;object, which seems to be missing.&lt;/P&gt;&lt;P&gt;When altering the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=smartmapping_bycolor"&gt;smartmapping bycolor Sample&lt;/A&gt;&amp;nbsp;in line 195, so that it says&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;smartMapping.createClassedColorRenderer&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;instead of&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;smartMapping.createColorRenderer&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;results in an error calculating the histogram, because something is undefined. Taking a closer look, the&amp;nbsp;promise object of the classed color renderer doesn't have the "statistics" property, which is supposed to be there.&lt;/P&gt;&lt;P&gt;Is this a Bug or am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/createclassedcolorrenderer-missing-the-quot/m-p/518272#M48334</guid>
      <dc:creator>NiklasKöhn</dc:creator>
      <dc:date>2017-06-13T12:55:01Z</dc:date>
    </item>
  </channel>
</rss>

