IEaxDataAreaSliceProperties.UseGridSelection

Fore Syntax

UseGridSelection: Boolean;

Fore.NET Syntax

UseGridSelection: boolean;

Description

The UseGridSelection property determines whether the selected table area built on a data slice is used to build other visualizers (charts, maps, and so on).

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