Show / Hide Table of Contents

Class ClassBreaksRenderer

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

Inheritance
System.Object
Renderer
ClassBreaksRenderer
Implements
System.ComponentModel.INotifyPropertyChanged
Renderer.RotationExpression
Renderer.RotationType
Renderer.SceneProperties
Renderer.UnknownJson
Renderer.UnsupportedJson
Renderer.FromJson(String)
Renderer.ToJson()
Renderer.GetSymbol(GeoElement)
Renderer.GetSymbol(GeoElement, Boolean)
Renderer.Clone()
Renderer.PropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class ClassBreaksRenderer : Renderer, INotifyPropertyChanged
Remarks

A class breaks renderer contains a collection of ranges (or class breaks). Each ClassBreak has a MinValue, MaxValue, and a unique 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 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.

Constructors

Name Description
ClassBreaksRenderer(String, IEnumerable<ClassBreak>)

Initializes a new instance of the ClassBreaksRenderer class with the given class breaks applied to the given field.

Properties

Name Description
BackgroundFillSymbol

Gets or sets the renderer's background fill symbol which is of type SimpleFillSymbol

ClassBreaks

Gets the collection of ClassBreak objects which define each group of numerical observations being symbolized in a layer.

ClassificationMethod

Gets the renderer's classification method.

DefaultLabel

Gets or sets the label used for the default symbol.

DefaultSymbol

Gets or sets the symbol for values that don't fall within any of the class breaks.

FieldName

Gets or sets the name of the field that the class breaks apply to.

MinValue

Gets or sets the minimum value of the first class break if the renderer uses continuous class breaks.

NormalizationField

Gets or sets the renderer's normalization field.

NormalizationTotal

Gets or sets the renderer's normalization total.

NormalizationType

Gets or sets the renderer's normalization type.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Change sublayer renderer: Apply a renderer to a sublayer.
In This Article
Back to top Copyright © 2022 Esri.