ia.RangeClass Class
The ia.RangeClass
extends the ia.LegendClass
to include a min value, a max value and a range. The value
property of a range class is equal to null.
Constructor
ia.RangeClass
-
inMinValue
-
inMaxValue
-
inColor
-
inSize
Parameters:
-
inMinValue
NumberThe min value.
-
inMaxValue
NumberThe max value.
-
inColor
StringThe color.
-
inSize
NumberThe size.
Item Index
Properties
- color
- formatter
- GREATER_THAN static
- GREATER_THAN_OR_EQUAL_TO static
- index
- items
- LESS_THAN static
- LESS_THAN_OR_EQUAL_TO static
- maxRule
- maxValue
- minRule
- minValue
- size
- symbol
- value
Methods
contains
-
value
Checks if a value is contained in the class.
Parameters:
-
value
NumberThe value.
Returns:
getLabel
()
String
Get the label.
Returns:
getRange
()
Number
The difference between the min and max value.
Returns:
setLabel
-
label
Set the label.
Parameters:
-
label
StringThe label.
Properties
color
String
The default color.
Default: "#FFFFFF"
GREATER_THAN
String
final
static
Constant indicating a ">" rule.
Default: "greaterThan"
GREATER_THAN_OR_EQUAL_TO
String
final
static
Constant indicating a ">=" rule.
Default: "greaterThanOrEqual"
index
Number
The position of the class in the thematic.
Default: 0
items
Number
The list of data items contained in this class.
LESS_THAN
String
final
static
Constant indicating a "<" rule.
Default: "lessThan"
LESS_THAN_OR_EQUAL_TO
String
final
static
Constant indicating a "<=" rule.
Default: "lessThanOrEqual"
maxRule
String
The maximum rule. Valid rules are "<=" or "<".
Default: "<="
maxValue
Number
The maximum value.
Default: 0
minRule
String
The minimum rule. Valid rules are ">=" or ">".
Default: ">="
minValue
Number
The minimum value.
Default: 0
size
Number
The default size applied to data in the layer.
Default: 15
symbol
String
The symbol used for point data.
Default: ia.Shape.SQUARE
value
Number
The value