IEaxAnalyzerCore.Mode

Syntax

Mode: EaxMode;

Description

The Mode determines display mode of time series database workbook in express report.

Comments

The IEaxAnalyzerCore.CanSwitchToMode property returns whether the mode can be changed.

There are two indicator value view modes in the workspace:

Series mode:

Multidimensional mode:

Toggling between the modes:

  1. The mode toggle is available if the same calendar is used for all the series of the workbook. A series calendar is returned by the ILanerSerie.CalendarDim property.

  2. Toggling from the multidimensional mode to the series mode. It is possible only when columns contain a calendar. The series matching the selection in slices by rows and in fixed dimensions are displayed in the series mode. In the series mode, attribute values which slices are located by rows are displayed in additional columns.

  3. Toggling from the series mode to the multidimensional mode. All source series will be used to create a selection for multidimensional cube over time series database. All calculated series are lost.

Example

Executing the example requires a form, a button named Button1 on the form, the LanerBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for LanerBox. A working area of the time series database must be loaded to UiErAnalyzer1.

Sub UserProc;
Var
    Analyzer: IEaxAnalyzer;
Begin
    Analyzer := UiErAnalyzer1.ErAnalyzer;
    
If Analyzer.CanSwitchToMode Then
        Analyzer.Mode := EaxMode.MultiDimension;
    
End If;
End Sub UserProc;

After executing the example, multidimensional mode is enabled for the working area.

See also:

IEaxAnalyzeCore