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

Object

Properties

Signals

Methods

  • 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
Symbolsymbol

See also JsonSerializable and ClassBreaksRenderer.

Property Documentation

description : string

The description of this class break.


json : jsobject

The JSON representation of this object.

This JSON can be used to instantiate the type instance.


label : string

The label used to display this class break.


maxValue : double

The maximum value of this class break.


minValue : double

The minimum value of this class break.


[default] symbol : Symbol

The symbol used to display this 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.


labelChanged()

Emitted when the label property changes.


maxValueChanged()

Emitted when the maxValue property changes.


minValueChanged()

Emitted when the minValue property changes.


symbolChanged()

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?