Skip To Content ArcGIS for Developers Sign In Dashboard

ClassBreak QML Type

A class break definition for use with a class breaks renderer. More...

Import Statement: import Esri.ArcGISRuntime 100.9
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Signals

Methods

Detailed Description

A class break corresponds to a range of values for an attribute field. A list of class break instances are maintained in the ClassBreakListModel. When the class breaks renderer is used to display a layer, the symbol used for a feature is determined by the value in a selected attribute. When the value falls within a class break, the corresponding symbol and label display.

Class breaks contain this information: Value, range, name, and description, as well as the label and symbol to display for features that contain attribute values within this class break.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
Symbolsymbol

See also JsonSerializable and ClassBreaksRenderer.

Property Documentation

description : string

The description of the class break.

"Cities with a population under 100,000", for example.


json : jsobject

The JSON representation of this object.

This JSON can be used to instantiate the type instance.


label : string

The label for the class break.

"0 - 100000", for example.


maxValue : double

The maximum value of the range that defines the break.

A value is in the class break when it is in the range minValue < value <= maxValue.


minValue : double

The minimum value of the range that defines the break.

A value is in the class break when it is in the range minValue < value <= maxValue.


[default] symbol : Symbol

The symbol used to represent elements in the class break.


unknownJson : jsobject

Returns the unknown JSON from the source JSON.

See also JsonSerializable.


unsupportedJson : jsobject

Returns the unsupported data from the source JSON.

See also JsonSerializable.


Signal Documentation

descriptionChanged()

Emitted when the description property changes.

Note: The corresponding handler is onDescriptionChanged.


labelChanged()

Emitted when the label property changes.

Note: The corresponding handler is onLabelChanged.


maxValueChanged()

Emitted when the maxValue property changes.

Note: The corresponding handler is onMaxValueChanged.


minValueChanged()

Emitted when the minValue property changes.

Note: The corresponding handler is onMinValueChanged.


symbolChanged()

Emitted when the symbol property changes.

Note: The corresponding handler is onSymbolChanged.


Method Documentation

ClassBreak clone()

Creates a deep copy of this object.


bool equals(classBreak)

Compares two class breaks for equality.

Returns whether this instance and the other classBreak are equal.



Feedback on this topic?