UnhoverTimeout: Double;
UnhoverTimeout: double;
The UnhoverTimeout property determines duration of selected area animation.
Animation duration value is set in seconds.
Negative value is considered as a zero one.
Executing the example requires that the repository contains an express report with the EXPRESS identifier.
Add 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.
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: