AnsweredAssumed Answered

createClassedColorRenderer missing the "statistics" promise parameter

Question asked by n.koehnesri-de-esridist Employee on Jun 13, 2017

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?

Outcomes