IMapPieVisual.LeastRadiusPart

Syntax

LeastRadiusPart: Double;

Description

The LeastRadiusPart property determines a part of the minimum radius.

Comments

The range of available values: [0..1]. It is relevant when used as radius of the parts of a numeric scale.

Example

Executing the example requires that the repository contains a regular report with the REPORT identifier, the first sheet of which contained only a map with a pie indicator on the Regions layer.

Add links to the Map, Metabase Report,Tab system assemblies.

Sub UserProc;
Var
    Metabase: IMetabase;
    MetabaseObject: IMetabaseObject;
    Report: IPrxReport;
    Table: IPrxTable;
    Obj: ITabObjects;
    Layer: IMapLayer;
    Map: IMap;
    Visual: IMapPieVisual;
Begin
    Metabase := MetabaseClass.Active;
    MetabaseObject := Metabase.ItemById("REPORT").Edit;
    Report := MetabaseObject As IPrxReport;
    Table := Report.Sheets.Item(0As IPrxTable;
    Obj := Table.TabSheet.Objects;
    // Determine map on report sheet
    Map := Obj.Item(0).Extension As IMap;
    Layer := Map.Layers.FindByName("Regions");
    // Determine indicator
    Visual := Layer.Visuals.Item(0As IMapPieVisual;
    // Set minimum radius share
    Visual.LeastRadiusPart := 0.6;
    Report.MetabaseObject.Save;
End Sub UserProc;

After executing the example the part of the minimum radius is determined for the pie indicator.

See also:

IMapPieVisual