LeastRadiusPart: Double;
The LeastRadiusPart property determines a part of the minimum radius. The range of available values: [0..1]. It is relevant when used as radius of the parts of a numeric scale.
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 factor on the Regions layer.
Sub Main;
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(0) As IPrxTable;
Obj := Table.TabSheet.Objects;
Map := Obj.Item(0).Extension As IMap; // map on report sheet
Layer := Map.Layers.FindByName("Regions");
Visual := Layer.Visuals.Item(0) As IMapPieVisual; // factor
Visual.LeastRadiusPart := 0.6;
Report.MetabaseObject.Save;
End Sub Main;
After executing the example the part of the minimum radius is determined for the pie factor.
See also: