AnsweredAssumed Answered

Is it possible to generate a ClassBreaksDefinition from an Array instead of an attribute from a Featureclass ???

Question asked by chrissie on Mar 1, 2017
Latest reply on Mar 9, 2017 by thejus.kambi

          var classDef = new ClassBreaksDefinition();
<<<          classDef.classificationField = app.currentAttribute; >>>

<<<         assign an Array here  instead of the line before >>>
    //Known values: natural-breaks | equal-interval | quantile | standard-deviation | geometrical-interval
          classDef.classificationMethod = "natural-breaks";
          classDef.breakCount = 5;
          classDef.baseSymbol = app.symbol;

Outcomes