new SuperMap.ThemeGraphItem(options)
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
captionstring
-
The item name of the thematic map.
-
graphExpressionstring
-
The thematic variables of the graph map.Variables can be a field or field expression. The field must be numeric type, and the expressions are only used in the operation of numeric fields.
-
memoryDoubleValuesArray.<number>
-
The value array when making the thematic map by the way of the memory array.
When making the thematic map by the way of the memory array, the records of the SmID values in the key array (ThemeGraph.memoryKeys) are made into thematic maps. The value number of the value array is the same as that of the key array. The values in the value array will replace the original thematic values to make graph map. For example: use perimeter fields and area fields (indicating there are two graph map item=) as the thematic variables to make graph maps. -
uniformStyleSuperMap.ServerStyle
-
The display style of the ThemeGraphItem. Each ThemeGraphItem corresponds to a kind of display style.
Methods
-
SuperMap.ThemeGraphItem.fromObj(obj){SuperMap.ThemeGraphItem}
ThemeGraphItem.js, line 66 -
Obtaining statistical thematic map subitems from the incoming object.
Name Type Description obj
Object The incoming object
Returns:
Type Description SuperMap.ThemeGraphItem ThemeGraphItem object. -
destroy()
ThemeGraphItem.js, line 54 -
Disposes the resource. The property that references resource is set to null.