require(["esri/tasks/ClassificationDefinition"], function(ClassificationDefinition) { /* code goes here */ });
Description
(Added at v2.6)
The super class for the classification definition objects used by the GenerateRendererTask class to generate data classes. This class has no constructor. Use ClassBreaksDefinition or UniqueValueDefinition instead.
Samples
Search for
samples that use this class.
Subclasses
Properties
Property Details
Define a default symbol for the classification. If a baseSymbol
is not defined then a default symbol is created based on the geometryType of the layer.
Define a color ramp for the classification. If a colorRamp
is not defined then a default color ramp will be used to assign a color to each class.
The type of classification definition.
Known values: uniqueValueDef | classBreaksDef