IRubricatorFactor.FactData

Syntax

FactData: IRubricatorFactData;

Description

The FactData property returns factor data.

Example

Executing the example requires a form, a button with the Button1 identifier on the form, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 which is used as a data source for TabSheetBox. A working area of the time series database must be loaded to UiErAnalyzer1. The calculated series is supposed to be in the working area.

Click the button to execute the example.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

ErAn: IEaxAnalyzer;

Laner: ILaner;

Serie: ILanerSerie;

CalculateSerie: ILanerCalculateSerie;

Factor: IRubricatorFactor;

i: integer;

FData: IRubricatorFactData;

Begin

ErAn := UiErAnalyzer1.ErAnalyzer;

Laner := ErAn.Laner;

For i := 0 To Laner.Series.Count - 1 Do

Serie := Laner.Series.Item(i);

If Serie.Kind = LnSerieKind.Calculate Then

CalculateSerie := Serie As ILanerCalculateSerie;

Factor := CalculateSerie.CreateFactor;

FData := Factor.FactData;

Debug.WriteLine(FData.FactorKey);

End If;

End For;

End Sub Button1OnClick;

After executing the example the console window displays keys of the factors that correspond to the calculated series.

See also:

IRubricatorFactor