PieChartThemeItemInfo() 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 theme item for a pie chart thematic layer in a map. You can call this function from the MapBasic window in MapInfo Pro.

Syntax

PieChartThemeItemInfo ( map_window_id, thematic_layer_id, item_id, attribute )

map_window_id is a Map window identifier.

thematic_layer_id is a SmallInt that identifies a range thematic layer in a Map.

range_item_id is an Integer that identifies a theme expression Id. Count of expressions used in this theme can be fetched using ThemeInfo() command.

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 PieChartThemeItemInfo() returns
PIECHARTTHEME_ITEM_INFO_BRUSH 1 Brush style clause used for displaying pie chart of the specified item ID: expression.

See Also:

PieChartThemeInfo() function