Package | com.esri.bacore.thematicmapping.symbolization |
Class | public class TMClassification |
Inheritance | TMClassification Classification flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
classificationType : TMClassificationType
Classification type. | TMClassification | ||
numBreaks : int [override]
The required number of class breaks. | TMClassification |
Method | Defined By | ||
---|---|---|---|
Creates a new instance of the TMClassification class. | TMClassification | ||
classify(data:Array):ClassificationResults [override]
Classifies numerical data in a number of classes. | TMClassification | ||
ensureValidData(data:Array, numBreaks:int):void [static]
Ensures that the data array is specified and that the number of breaks is nonegative. | Classification | ||
getBounds(data:Array):Array [static]
Calculates low and up bounds of values of data array. | Classification |
classificationType | property |
classificationType:TMClassificationType
Classification type.
The default value is TMClassificationType.QUANTILE
.
This property can be used as the source for data binding.
public function get classificationType():TMClassificationType
public function set classificationType(value:TMClassificationType):void
numBreaks | property |
numBreaks:int
[override] The required number of class breaks.
This value should be positive. In attempt to set a nonpositive value, the default number of breaks is assigned to this property value.
The default value is 5
.
This property can be used as the source for data binding.
public function get numBreaks():int
public function set numBreaks(value:int):void
TMClassification | () | Constructor |
public function TMClassification()
Creates a new instance of the TMClassification class.
classify | () | method |
override public function classify(data:Array):ClassificationResults
Classifies numerical data in a number of classes.
Parameters
data:Array — Array of numerical values.
|
ClassificationResults — Classification results.
|