Contents  All Classes  Index A-Z  All Units


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.

  • \*\pn
      \pnindent\pntxtb
    \fi-200\limsNumPoints
    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.



    Submit your feedback about this page.

    Copyright 1995-2007 © by Steema Software. All Rights Reserved.