IVZMapChart.UnhoverTimeout

Fore syntax

UnhoverTimeout: Double;

Fore.NET syntax

UnhoverTimeout: double;

Description

The UnhoverTimeout property determines duration of selected area animation.

Comments

Animation duration value is set in seconds.

Negative value is considered as a zero one.

Fore example

Executing the example requires that the repository contains an express report with the EXPRESS identifier.

Ad links to the Express, Metabase, Visualizators system assemblies.

Sub UserProc;
Var
    Metabase: IMetabase;
    EaxAnalyzer: IEaxAnalyzer;
    EMap: IVZMapChart;
Begin
    // Get repository object
    Metabase := MetabaseClass.Active;
    // Get express report
    EaxAnalyzer := Metabase.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    // Get express report map as a visualizer
    EMap := EaxAnalyzer.MapChart.MapChart;
    // Set animation duration
    EMap.UnhoverTimeout := 10;
    // Save express report
    (EaxAnalyzer As IMetabaseObject).Save;
End Sub UserProc;

After executing the example animation of the selected map area becomes 10 seconds.

Fore.NET example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Visualizators;

Public Shared Sub Main(Params: StartParams);
Var
    Metabase: IMetabase;
    EaxAnalyzer: IEaxAnalyzer;
    EMap: IVZMapChart;
Begin
    // Get repository object
    Metabase := Params.Metabase;
    // Get express report
    EaxAnalyzer := Metabase.ItemById ["EXPRESS"].Edit() As IEaxAnalyzer;
    // Get express report map as a visualizer
    EMap := EaxAnalyzer.MapChart.MapChart;
    // Set animation duration
    EMap.UnhoverTimeout := 10;
    // Save express report
    (EaxAnalyzer As IMetabaseObject).Save();
End Sub;

See also:

IVZMapChart