AnsweredAssumed Answered

Setting a minValue for createClassBreaksRenderer in smartMapping

Question asked by oshyouk on Oct 2, 2018

I am trying to set the minValue for the createClassBreaksRenderer in the smartMapping but it seems not working. I just tried it from the ESRI sample (ArcGIS API for JavaScript Sandbox) as well and I could confirm it's not working. Can someone help me how to use it? What I did was just add the line below at line 11: 

 

var params = {
    layer: layer,
    field: fieldSelect.value,
    normalizationField: "EDUCBASECY",
    basemap: map.basemap,
    classificationMethod: classSelect.value,
    numClasses: parseInt(numClassesInput.value),
    legendOptions: {
        title: "% population with " + fieldLabel
    },
    minValue: 0.5
};

Outcomes