Discussion created by on Feb 28, 2014
Latest reply on Sep 5, 2014 by kevinthomas

Is it possible to generate a 5 classbreak quantile render for a QueryDataSource dynamicLayer/featurelayer?

For example, a featurelayer is:

var featureLayer = new FeatureLayer("", {
          mode: FeatureLayer.MODE_ONDEMAND,
          outFields: ["*"],
          infoTemplate: infoTemplate,
          source: layerSource

How to create a render with a classDef:

var classDef = new ClassBreaksDefinition();
          classDef.classificationField = app.currentAttribute;
          classDef.classificationMethod = "quantile";
          classDef.breakCount = 5;
          classDef.baseSymbol = app.sfs;