IVZMapChartPie.LeastRadiusPart

Fore Syntax

LeastRadiusPart: Double;

Fore.NET Syntax

LeastRadiusPart: double;

Description

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

Fore Example

To execute the example place the Button, UiErAnalyzer, FloatEdit, EaxMapBox components with the Button1, UiErAnalyzer1, FloatEdit1 and EaxMapBox1 identifiers correspondingly on the form. For UiErAnalyzer, set the Active property to True, set to the Object property an express report containing a map with pie charts. 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 factor 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, determine value for the pie chart radius in the FloatEdit component and click the button. Pie chart radius changes on the map.

See also:

IVZMapChartPie