Purpose
Returns information about a specific graduated symbol thematic layer in a map. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
GraduatedThemeInfo ( map_window_id, thematic_layer_id, attribute )
map_window_id
is a Map window identifier.
thematic_layer_id
is a SmallInt
that identifies a graduated thematic layer in a Map.
attribute
is a SmallInt
code indicating the type of information to return; see table below.
Return Value
Depends on the attribute
parameter.
Description
Theattribute
parameter can be any value from the table below.
Attribute code | ID | GraduatedThemeInfo() returns |
---|---|---|
GRADUATEDTHEME_INFO_SYMBOL | 1 | Symbol style clause used for displaying graduated symbols. |
GRADUATEDTHEME_INFO_VALUE | 2 | Float result, representing numeric value that correspond to the used symbol above (GRADUATEDTHEME_INFO_SYMBOL)GRADUATEDTHEME_INFO_GRAD_ROOT(0) "SQRT" (square root) method, which assigns increasingly larger point sizes as the square roots of the values increase GRADUATEDTHEME_INFO_GRAD_CONST(1) Const symbol sizes GRADUATEDTHEME_INFO_GRAD_LOG(2) Sizes change based on log values |
GRADUATEDTHEME_INFO_SHOW_NEG | 3 | Logical result (T or F) whether to display symbols for negative values or not. |
GRADUATEDTHEME_INFO_SHOW_NEG_SY | 4 | Symbol style clause used for displaying graduated symbols for negative values. |
GRADUATEDTHEME_INFO_GRADUATION | 5 | SmallInt result, representing how the differences in numerical values correspond to differences in symbol sizes. Three methods are supported. |