GraduatedThemeInfo() function - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

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

The attribute 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.