IEaxDataAreaSliceProperties.UseGridSelection

Fore Syntax

UseGridSelection: Boolean;

Fore.NET Syntax

UseGridSelection: boolean;

Description

The UseGridSelection property determines whether selected table area built on data slice will be used to built other visualizers (charts, maps, etc).

Comments

Available Values:

Fore Example

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

Add links to the Express, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    DataArea: IEaxDataArea;
    AreaSlice: IEaxDataAreaSlice;
    Properties: IEaxDataAreaSliceProperties;
Begin
    // Get current repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPRESS_ATTRSEP").Edit As IEaxAnalyzer;
    // Get analytical data area
    DataArea := Express.DataArea;
    // Get data source slice
    AreaSlice := DataArea.Slices.Item(0);
    // Get properties of data source slice
    Properties := AreaSlice.Properties;
    // Determine that visualizers are built by the whole table
    Properties.UseGridSelection := False;
    // Save report
    (Express As IMetabaseObject).Save;
End Sub UserProc;

After executing the example visualizers in the express report are built by the whole data table.

Fore.NET Example

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

Imports Prognoz.Platform.Interop.Express;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    DataArea: IEaxDataArea;
    AreaSlice: IEaxDataAreaSlice;
    Properties: IEaxDataAreaSliceProperties;
Begin
    // Get current repository
    MB := Params.Metabase;
    // Get express report
    Express := MB.ItemById["EXPRESS_ATTRSEP"].Edit() As IEaxAnalyzer;
    // Get analytical data area
    DataArea := Express.DataArea;
    // Get data source slice
    AreaSlice := DataArea.Slices.Item[0];
    // Get properties of data source slice
    Properties := AreaSlice.Properties;
    // Determine that visualizers are built by the whole table
    Properties.UseGridSelection := False;
    // Save report
    (Express As IMetabaseObject).Save();
End Sub;

See also:

IEaxDataAreaSliceProperties