TTeeFunction.PeriodAlign
TTeeFunction
property PeriodAlign: TFunctionPeriodAlign;
Unit
TeEngine
Description
Default value : paCenter
The PeriodAlign property controls "where" to place function calculations inside the full period space. When the function Period is greater than zero (so it calculates by groups of points), the function results are added to the series by default at the center position of the Function TTeeFunction.Period. You can change this by setting PeriodAlign to
- paFirst (function result will be added to series at start of each period),
- paCenter (function result will be added to series at center of each period)
- paLast (function result will be added to series at end of each period)
Example
TeeFunction1.PeriodAlign := paCenter ; { <-- by default is centered }
The "paFirst" and "paLast" constants will plot calculations at the start and end "X" coordinates of each "Period".