ia.CategoricClass Class
A ia.CategoricClass
consists of a value, style and size.
Constructor
ia.CategoricClass
(
-
data
-
inValue
-
inColor
-
inSize
Parameters:
-
data
NumberThe data array.
-
inValue
StringThe value.
-
inColor
StringThe color.
-
inSize
NumberThe size.
Item Index
Methods
contains
(
Boolean
-
value
Checks if a value is contained in the class.
Parameters:
-
value
StringThe value.
Returns:
Boolean:
true / false.
getLabel
()
String
Get the label.
Returns:
String:
The label.
setLabel
(
-
label
Set the label.
Parameters:
-
label
StringThe label.
Properties
color
String
The default color.
Default: "#FFFFFF"
index
Number
The position of the class in the thematic.
Default: 0
items
Number
The list of data items contained in this class.
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