
|
TFunctionPeriodStyle
type TFunctionPeriodStyle = (psNumPoints, psRange);
Unit
TeEngine
Description
TFunctionPeriodStyle defines the possible values of the TTeeFunction.TTeeFunction.PeriodStyle property.
For example, TAverageTeeFunction and TMovingAverageFunction have a TTeeFunction.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 TChartSeries.DataSource Series. For every group of points within a Day, it will calculate its average.
See also:
TFontQuality
Send us Help Feedback. Copyright 1995-2024 © by Steema Software. All Rights Reserved.