Select to view content in your preferred language

createClassedColorRenderer missing the "statistics" promise parameter

600
0
06-13-2017 05:55 AM
NiklasKöhn
Esri Contributor

Using JS API #3.20, the smartmapping.createClassedColorRenderer() method is supposed to have a statistics output parameter on the promise object, which seems to be missing.

When altering the smartmapping bycolor Sample in line 195, so that it says

smartMapping.createClassedColorRenderer

instead of 

smartMapping.createColorRenderer

results in an error calculating the histogram, because something is undefined. Taking a closer look, the promise object of the classed color renderer doesn't have the "statistics" property, which is supposed to be there.

Is this a Bug or am I missing something?

0 Kudos
0 Replies