UseGridSelection: Boolean;
UseGridSelection: boolean;
The UseGridSelection property determines whether selected table area built on data slice will be used to built other visualizers (charts, maps, etc).
Available Values:
True. Only selected part of the table built on data slice is used to build other visualizers.
False. The whole table built on data slice is used to build other visualizers.
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.
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: