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.8
Since: Esri.ArcGISRuntime 100.0





  • ClassBreak clone()
  • bool equals(ClassBreak classBreak)

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

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


Emitted when the description property changes.


Emitted when the label property changes.


Emitted when the maxValue property changes.


Emitted when the minValue property changes.


Emitted when the symbol property changes.

Method Documentation

ClassBreak clone()

Creates a deep copy of this object.

bool equals(ClassBreak classBreak)

Compares two class breaks for equality.

Returns whether this instance and the other classBreak are equal.

Feedback on this topic?