IWorkbookStatisticsPanel.Analyzer

Syntax

Analyzer: IEaxAnalyzerSource;

Description

The Analyzer property determines a data source for the component.

Comments

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

Example

Executing the example requires a form with the Button1 button, the WorkbookStatisticsPanel component named WorkbookStatisticsPanel1, 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