ClassBreaksRenderer class final

A class breaks renderer is a renderer that classifies numeric data into two or more ranges of values to create a visualization.

A class breaks renderer contains a collection of ranges (or class breaks). Each ClassBreak has a ClassBreak.minValue, ClassBreak.maxValue, and a unique ClassBreak.symbol. The ranges reflect a specific RendererClassificationMethod, such as equal interval, natural breaks, quantile, standard deviation and manual classification.

ClassBreaksRenderer contains properties for setting the field that the class breaks refer to and also for controlling normalization. It also defines a default label and symbol to display for values that don't fall within any of the class breaks. You can add or remove a ClassBreak from this renderer via the ClassBreaksRenderer.classBreaks collection.

Class breaks can be defined as continuous, where the minimum value of a break is defined by the maximum value of the previous class break. For continuous class breaks only the max value needs to be set on each ClassBreak.

For discontinuous class breaks, set both a min and a max value in each ClassBreak.

Inheritance

Constructors

ClassBreaksRenderer({String fieldName = '', List<ClassBreak> classBreaks = const []})
Creates a new class breaks renderer with the given class breaks applied to the given field.
factory

Properties

backgroundFillSymbol ArcGISSymbol?
The renderer's background fill symbol.
getter/setter pair
classBreaks List<ClassBreak>
The collection of class breaks which define each range in this renderer.
no setter
classificationMethod RendererClassificationMethod
The renderer's classification method.
no setter
defaultLabel String
The label used for the default symbol.
getter/setter pair
defaultSymbol ArcGISSymbol?
The default symbol for values that don't fall within any of the class breaks.
getter/setter pair
fieldName String
The name of the field that the class breaks apply to.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
minValue double
The minimum value of the first class break if the renderer uses continuous class breaks.
getter/setter pair
normalizationField String
The renderer's normalization field.
getter/setter pair
normalizationTotal double
The renderer's normalization total.
getter/setter pair
normalizationType RendererNormalizationType
The renderer's normalization type.
getter/setter pair
rotationExpression String
The expression describing how attributes values are translated into a rotation to be applied to the GeoElement.
getter/setter pairinherited
rotationType RotationType
Indicates whether the rotation calculated from the Renderer.rotationExpression is interpreted as arithmetic or geographic.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone() Renderer
Clones the Renderer.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
symbolForFeature({required Feature feature, bool applyAttributeOverrides = false}) ArcGISSymbol?
Returns the symbol that is used to visualize the given feature with override attributes from the renderer.
inherited
symbolForGraphic({required Graphic graphic, bool applyAttributeOverrides = false}) ArcGISSymbol?
Returns the symbol that is used to visualize the given graphic with override attributes from the renderer.
inherited
toJson() Map<String, dynamic>
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
toJsonString() String
Returns a JSON representation of this Object as a String.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited