IVZMapChartPie.LeastRadiusPart

Syntax

LeastRadiusPart: Double;

Description

The LeastRadiusPart property determines the minimum value of the pie indicator radius on the map.

Example

To execute the example, place the following components on the form: the Button component named Button1, the UiErAnalyzer component named UiErAnalyzer1, the FloatEdit component named FloatEdit1, the EaxMapBox component named EaxMapBox1. For UiErAnalyzer set the Active property to True, set the Object property to the express report containing a map with pie indicators. For EaxMapBox set the Source property to UiErAnalyzer1.

Add links to the Express, Map, Visualizators, Forms system assemblies.

The example is a handler of the OnClick event for the Button1 component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var Eax: IEaxAnalyzer;
    Map: IVZMapChart;
    Pies: IVZPiesArray;
    i: Integer;
Begin
    Eax := UiErAnalyzer1.ErAnalyzer;
    Map := Eax.MapChart.MapChart;
    Pies := Map.RootLayer.SubLayers.Item(
0).Pies;
    
// Determine radius of the pie indicator on a map
    For i := 0 To Pies.Count - 1 Do
        Pies.Item(i).LeastRadiusPart := FloatEdit1.Value;
    
End For;
    FloatEdit1.Value := Map.RootLayer.SubLayers.Item(
0).Pies.Item(0).LeastRadiusPart;
    
// Refresh express report
    Eax.MapChart.Refresh;
End Sub Button1OnClick;

After executing the example, set the value for pie indicator radius in the FloatEdit component and click the button. Pie chart radius changes on the map.

See also:

IVZMapChartPie