IEaxDataAreaSlice.IndicatorSelection

Fore Syntax

IndicatorSelection(Type: Integer): IDimSelection;

Fore.NET Syntax

IndicatorSelection[Type: integer]: Prognoz.Platform.Interop.Dimesnions.IDimSelection;

Parameters

Type. Metric type of analytical data area slice.

Description

The IndicatorSelection property returns metrics dimension selection.

Comments

The values of the Type parameter are presented in the EaxSliceIndicatorType enumeration.

Fore Example

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

Add links to the Dimensions, Express, Metabasee system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Slice: IEaxDataAreaSlice;
    IndSel: IDimSelection;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPRESS").Bind As IEaxAnalyzer;
    // Get data slice
    Slice := Express.DataArea.Slices.Item(0);
    // Get metric dimension selection
    IndSel := Slice.IndicatorSelection(EaxSliceIndicatorType.Color);
    // Display to the console metrics dimension identifier
    Debug.WriteLine("Metric dimension identifier - " + IndSel.Dimension.Ident);
End Sub UserProc;

After executing the example, the console displays metrics dimension identifier.

Fore.NET Example

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

Imports Prognoz.Platform.Interop.Dimensions;
Imports Prognoz.Platform.Interop.Express;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Slice: IEaxDataAreaSlice;
    IndSel: IDimSelection;
Begin
    // Get repository
    MB := Params.Metabase;
    // Get express report
    Express := MB.ItemById["EXPRESS"].Bind() As IEaxAnalyzer;
    // Get data slice
    Slice := Express.DataArea.Slices.Item[0];
    // Get metric dimension selection
    IndSel := Slice.IndicatorSelection[EaxSliceIndicatorType.esitColor As Integer];
    // Display to the console metrics dimension identifier
    System.Diagnostics.Debug.WriteLine("Metrics dimension identifier - " + IndSel.Dimension.Ident);
End Sub;

See also:

IEaxDataAreaSlice