TFunctionPeriodStyle
 
 
 

All Units  All Classes  Properties, Methods and Events  

TFunctionPeriodStyle

type TFunctionPeriodStyle = (psNumPoints, psRange);

Unit
TeEngine

Description
TFunctionPeriodStyle defines the possible values of the TTeeFunction.PeriodStyle property.

For example, TAverageTeeFunction and TMovingAverageFunction have a Period value. This is a numeric value that can be expressed either as a number of points or a horizontal range.

msNumPoints A number of points (for example: 20).
msRange A X value range (DateTime or not).


Example:

AverageSeries1.PeriodStyle := psRange ;
AverageSeries1.Period := DateTimeStep[ dtOneDay ] ;


That will construct a Series based on its DataSource Series. For every group of points within a Day, it will calculate its average.



See also:
TFontQuality


Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.