Class ClassBreaksRenderer
A renderer that classifies numeric data into two or more ranges of values to create a visualization.
Implements
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
[ContentProperty(Name = "ClassBreaks")]
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |