Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/support
esri/workers
Class: ClassificationDefinition

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

NameTypeSummary
baseSymbolSymbolDefine a default symbol for the classification.
colorRampColorRampDefine a color ramp for the classification.
typeStringThe type of classification definition.
Property Details

<Symbol> baseSymbol

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.

<ColorRamp> colorRamp

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.

<String> type

The type of classification definition.
Known values: uniqueValueDef | classBreaksDef
Show Modal