IWorkbookStatisticsPanel.Analyzer

Syntax

Analyzer: IEaxAnalyzerSource;

Description

The Analyzer property determines a component data source.

Comments

It is required to specify the UiErAnalyzer component as a data source, which is connected to the required repository workbook.

Example

Executing the example requires a form with the button named Button1, the WorkbookConfigurationPanel component named WorkbookConfigurationPanel1 and the UiErAnalyzer component named UiErAnalyzer1. UiErAnalyzer1 is connected to any workbook of the repository.

Sub Button1OnClick1(Sender: Object; Args: IMouseEventArgs);
Begin
    WorkbookStatisticsPanel1.Analyzer := UiErAnalyzer1 As IEaxAnalyzerSource;
    UiErAnalyzer1.Active := True;
End Sub Button1OnClick1;

On clicking the button the UiErAnalyzer1 component is set as a source for WorkbookStatisticsPanel1. Calculated statistics will be displayed in the WorkbookStatisticsPanel1.

See also:

IWorkbookStatisticsPanel