Re: Legend with Class Break Renderer normalization

743
12
Jump to solution
02-06-2018 07:37 AM
RobertScheitlin__GISP
MVP Emeritus

David,

  See if this helps:

...
        classDef.breakCount = 5;
        classDef.classificationMethod = "quantile";
        classDef.type = "classBreaksDef";
        if(this.selectNorm.get('value')){
          classDef.normalizationType = "field"
          classDef.normalizationField = this.selectNorm.get('value');
        }
...
12 Replies
RobertScheitlin__GISP
MVP Emeritus

No problem. I thought it was strange when I saw my name as the original poster.

0 Kudos
DavidTreering2
New Contributor III

I'm having trouble setting the value of the dropdown fields.  Am I in the ballpark?

this.selectField.set("value", selectField.options[2]);

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

David,

this.selectField.set("value", this.selectField.options[2].value);