CreateDerivedSeries: Boolean;
The CreateDerivedSeries property determines whether calculated series are to be added as children.
Available property values: True - add child rows (default value); False - do not add child rows. See below an example of a calculated series with added child series (left) and without added child series (right):
Executing this example requires a form with the Button1 button, the LanerBox component named LanerBox1 and the UiErAnalyzer component that is a data source for LanerBox. Workbook of the time series database must be loaded to UiErAnalyzer1.
This example is executed on clicking the button.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Sett: ILanerBoxMethodSettings;
Param: Array[4] Of Variant;
Begin
Sett := New LanerBoxMethodSettings.Create;
Sett.TrySelfExecute := True;
Sett.CreateDerivedSeries := False;
Param[0] := MsInversion.Diff;
Param[1] := MsInversionLag.PrecidingYear;
Param[2] := -3;
Sett.Param := Param;
LanerBox1.ExecuteMethodEx(LanerBoxMethod.TermInfoMethod, Sett);
End Sub Button1OnClick;
After executing this example selected workbook series are converted to calculated ones calculated as increase of series values to the previous year with a lag of 3. Child series are not added.
See also: