IEaxDataAreaSlice.IndicatorsDimension

Syntax

IndicatorsDimension: IDimInstance;

Description

The IndicatorsDimension property determines metrics dimension  for a map.

Comments

Metrics dimension is a dimension using selected elements of which the map will be painted over and other visual elements will be set up.

To determine time scale dimension for a map, use IEaxDataAreaSlice.TimeLineDimension.

To determine dimension of map observed objects, use IEaxDataAreaSlice.ObjectivesDimension.

Example

Executing the example requires:

Add link to the Dimensions, Express, Metabase, Pivot system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    DataArea: IEaxDataArea;
    Slice: IEaxDataAreaSlice;
    Facts, Calendar, Terrytory, GeoLoc: IDimInstance;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    // Get data area
    DataArea := Express.DataArea;
    // Get data slice
    Slice := DataArea.Slices.Item(0);
    // Determine dimension roles
    // Facts dimension
    Facts := Express.Pivot.Dimensions.FindByKey(10124).DimInstance;
    Slice.IndicatorsDimension := Facts;
    // Time scale dimension
    Calendar := Express.Pivot.Dimensions.FindByKey(10127).DimInstance;
    Slice.TimeLineDimension := Calendar;
    // Observation objects dimension
    Terrytory := Express.Pivot.Dimensions.FindByKey(10152).DimInstance;
    Slice.ObjectivesDimension := Terrytory;
    // Arrows direction dimension
    Arrows := Express.Pivot.Dimensions.FindByKey(10152).DimInstance;
    Slice.SecondaryObjectivesDimension := Arrows;
    // Save changes
    (Express As IMetabaseObject).Save;
End Sub UserProc;

After executing the example in express report for a map specified roles for selected dimensions will be enabled.

See also:

IEaxDataAreaSlices